Is there any Genetic Programming code written R [closed]

旧时模样 提交于 2019-12-05 01:55:30

问题


I'm interesting in evolutionary algorithms. I have tested genetic algorithms with R but has someone tried with genetic programming? Do you know, if there are code somewhere written in R.


回答1:


I'm not aware of anything on CRAN for genetic programming in particular, although there is some work being done on the problem. In particular, have a look at the RGP package that is still in development.

Otherwise, have a look at the RFreak package, which is a wrapper for the "Free Evolutionary Algorithm Kit".




回答2:


You might want to have a look at genalg, at GA and at galgo




回答3:


There is a new package available:
gramEvol: Grammatical Evolution for R

A native R implementation of grammatical evolution (GE). GE facilitates the discovery of programs that can achieve a desired goal. This is done by performing an evolutionary optimisation over a population of R expressions generated via a user-defined context-free grammar (CFG) and cost function.

You can find the vignette here:
Grammatical Evolution: A Tutorial using gramEvol



来源:https://stackoverflow.com/questions/2681227/is-there-any-genetic-programming-code-written-r

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!