开发者

Is there any Genetic Programming code written R [closed]

开发者 https://www.devze.com 2022-12-28 03:09 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with fact开发者_运维知识库s and citations.

Closed 7 years ago.

Improve this question

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.


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".


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


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

UPDATE: I posted an article on my blog about it:
Symbolic Regression, Genetic Programming… or if Kepler had R.

0

精彩评论

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