trevorstephens / gplearn

Genetic Programming in Python, with a scikit-learn inspired API
http://gplearn.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.62k stars 283 forks source link

Is there any method for multi output of symbolic regression? #218

Closed SamWqc closed 2 years ago

trevorstephens commented 3 years ago

Not built in to gplearn presently. But you could try to do a one-vs-rest approach using sklearn's tools https://scikit-learn.org/stable/modules/generated/sklearn.multiclass.OneVsRestClassifier.html

LuoYuanzhen commented 3 years ago

As far as I know, "multi-tree" can be used to multi-output symbolic regression tasks. Also, an individual of Cartesian Genetic Programming (CGP) is able to produce multi-formula thanks to its graph representation. So, you can try google "multi-tree" or "cartesian genetic programming" for more details.