glyph icon indicating copy to clipboard operation
glyph copied to clipboard

Higher-level API

Open danuker opened this issue 5 years ago • 1 comments

Hello,

I would like to thank you for this amazing project! However, I want to ask if you have thought about a higher-level API, such as classifiers and regressors similar to scikit-learn with fit and predict?

I found this idea in the gplearn project, which also does symbolic regression.

While your API looks very flexible, it also looks like it is quite verbose for a new and "light" user like me.

Would you be open to a pull request from me, which would let people just create a regressor with given settings (such as population, generations, allowed primitives), and call fit and predict on it, similar to gplearn?

danuker avatar Oct 06 '19 10:10 danuker

Hi @danuker,

thank you for your interest in glyph.

Indeed the project lacks an interface compatible with sklearn. I'd be delighted to review a pull request and certainly willing to discuss some design choices which limit the API while keeping it powerful.

Ohjeah avatar Oct 10 '19 17:10 Ohjeah