wildart / Evolutionary.jl

Evolutionary & genetic algorithms for Julia
Other
328 stars 59 forks source link

SymbolicRegression example results in overly complex expression #78

Open claforte opened 3 years ago

claforte commented 3 years ago

First, thanks for building and sharing such an exciting and promising package!

I tried your SymbolicRegression example: https://github.com/wildart/Evolutionary.jl/blob/master/examples/SymbolicRegression.ipynb

In section 1.3.1 Linear, the solution found is much more complex than your example. It goes on for pages. ;-) (screenshot below)

Maybe maxdepth is no longer respected?

Thank you!

Christian

image

wildart commented 3 years ago

Maybe maxdepth is no longer respected?

Indeed. I wrote very basic tree mutation & crossover implementations without any constraints. More GP operations are needed.