-
Notifications
You must be signed in to change notification settings - Fork 43
Fix Remove bandwidth parameter and add gamma to EigenPro #36
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
Conversation
gamma consistent with the svm scale option.
…'m generating it again to see the difference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Alex7Li ! A few comments below. This does make comparison with SVC much more straightforward.
Thank you for spending your valuable time in catching my mistake @rth. I have implemented all of your suggestions in the latest commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @Alex7Li !
Previously, the gamma and bandwidth parameters were redundant with the eigenpro classifier. This pull request ensures fixes this by only using the one more consistent with sklearn (gamma). To increase consistency with svm, we add the 'scale' parameter to gamma for automatic detection, which chooses gamma in the same way the svm does, using 1/(n_features*X.var()). This pull request closes issue 35.