Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary classification with gplearn #61

Closed
mattrym opened this issue Nov 19, 2017 · 1 comment
Closed

Binary classification with gplearn #61

mattrym opened this issue Nov 19, 2017 · 1 comment

Comments

@mattrym
Copy link

mattrym commented Nov 19, 2017

Hey Trevor,

thank you for your work at the gplearn package - I really appreciate your work!

I'm quite interested in implementing genetic programming for multiclass classification, however, I'm quite out-of-time and probably won't manage to wait until the release of 0.3 version. I've just wondered, if I could use either One vs. One or One vs. All approach (like in SVM), using binary classification.

What would be the best way to implement binary classifier using estimators, which are available in gplearn so far? I've tried some of my ideas, however, I'm not very skilled in statistics and my attempts ended in failure.

I would be really thankful for giving me a hand.

Best regards,
Mateusz

@trevorstephens
Copy link
Owner

It isn't supported yet. Pegged for the 0.4.0 release now. You might be able to get something workable with a custom fitness measure. http://gplearn.readthedocs.io/en/stable/advanced.html#

Common ways to do it is specify a negative result of symbolic regression as one class and a positive result as the other class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants