开发者

Code generation with Machine learning [closed]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜