Evolutionary.jl icon indicating copy to clipboard operation
Evolutionary.jl copied to clipboard

SymbolicRegression example results in overly complex expression

Open claforte opened this issue 4 years ago • 1 comments

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

claforte avatar Jan 17 '21 10:01 claforte

Maybe maxdepth is no longer respected?

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

wildart avatar Jan 17 '21 16:01 wildart