开发者

Code generation with Machine learning [closed]

开发者 https://www.devze.com 2023-04-13 06:47 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. 开发者_高级运维 Closed 11 years ago.

I am very interested in machine learning. i have an idea to develop a program which can generate a source code according to a given standards. for example if i have trained the system to how to write something to console and the standard way of using variables then it should be able to generate a source code for anything which i ask to print something to the console, likewise. Is there any resources source codes or existing open source projects?


You might be interested in Genetic Programming. It's a genetic algorithm that operates directly on programs.

The demo I saw used Lisp (Common Lisp, I think), which is a natural fit, but any language with eval should be decently easy to use.

The Wikipedia page lists a whole pile of implementations, many of them open source, so you should be able to start there.


This sounds like this is would be a Constraint Satisfaction [CSPs] or Search Problem, these approaches would probably be your best bet:

  1. Genetic Algorithm
  2. Some sort of goal seaking heuristic [with negative/positive reenforcements]
  3. The algorithms that are under the CSP category.
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号