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
feature Request - cover binary classification? #17
Comments
Hi, |
Hi @mayou36 ... I have this pegged for the next release which I hope to have out soon. |
Might push classification back a release at this point, would like to get the bugfixes and new features out there sooner. Will see how we go though! |
how logistic regression could be created with gp? just a "fixed" logistic/threshold output function "like" neural networks? |
This class will be in the next release as a first class citizen of |
@trevorstephens I just found your great repo and would like to try implementing this feature. Would please provide some information like references or where should I start? Many thanks! |
Hi @spacegoing ... A PR would be most welcome! You could start by referring to A Field Guide To Genetic Programming which has a free download available. The Koza book "Genetic Programming" (no free downloads that I'm aware of) has a few examples of classification and one or two use a positive value of the program to mean a positive example and a negative value to be a negative. I don't think there is much if any literature on deriving a probability for the classification, but you could expose the raw decision function for users to toy with. So my thoughts on this are to make a new classifier class, and then either add some logic to the |
@trevorstephens Tks for your info! I've read the free book but didn't get much help there. I'll try Koza's book now:D |
@trevorstephens There are four versions of "Genetic Programming" . Would you pls tell me explicitly which one you refer to? |
"Genetic Programming: On the Programming of Computers by Means of Natural Selection", Published 1992, ISBN-10: 0262111705, ISBN-13: 978-0262111706 |
It's a massive tome btw 🤣 ... Oh and implementing the estimator is the easy part. You would need to also add good documentation and an example on how to use it. I can help along the way, but just a heads up that it's not simply code for a new estimator. 👍 |
Hello Trevor,
great job with gplearn; really enjoy using it data mining problems.
Would it be possible to extend gplearn to cover binary classification at some point?
pretty please ;)
Thank you!
The text was updated successfully, but these errors were encountered: