-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
make LinearSVC(dual="auto") default #6830
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
Comments
Ill choose you for my first issue to address at the Scipy 2016 sprint! |
Be sure to use the deprecation mechanism: http://scikit-learn.org/dev/developers/contributing.html#deprecation |
@amueller could you please help clarify, if only the below 2 files need to be changed?
|
You also need to add the correct behavior for For now, we could say always default to |
@amueller so for now what is the scope of this Issue. If its not too complicated I could work on this. |
As I said above, I think for now it would be fine to have "auto" be "dual=False" if "dual=False" is supported and otherwise "dual=True" |
If we do it like is it's a backward-compatible change. If we do anything else, we would need a deprecation cycle... |
I think the
dual
variable in LinearSVC and LogisticRegression should be set based on thepenalty
andloss
parameters. (not sure if there is already an issue for that).The text was updated successfully, but these errors were encountered: