-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
change LogisticRegression default solver to lbfgs and multiclass to multinomial? #9997
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
+1 We need to use |
I want to take up this issue provided its not too difficult. Can one of you instruct me what needs to be done here? |
I think we've not quite resolved what needs doing. We possibly need a
solver='auto' mode which will continue to default to 'liblinear' where
penalty='l1'. Then we'd need to deprecate the default solver and change to
auto.
to do with multiclass default? Perhaps we shouldn't change it, just for
simplicity. It may not be as big a deal as the intercept handling in
liblinear.
|
while in practice the ovr might not be a big deal, I think it's perceived as a red flag by anyone coming from a stats angle. I prefer deprecations to FutureWarnings. And yes, we need an "auto" solver. We also need benchmarks to see what heuristic would be good for "auto". |
This might be a good opportunity to also add "auto" to LinearSVC. |
I don't get the relevance to LinearSVC: there's no choice of solver
there... I'd understand rolling LinearSVC into SVC with an auto solver...
…On 26 Oct 2017 7:52 am, "Andreas Mueller" ***@***.***> wrote:
This might be a good opportunity to also add "auto" to LinearSVC.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9997 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEz6_2NUNTFquRsBPBj_Tkiazy4FYUYks5sv590gaJpZM4QFVhb>
.
|
Read #6595 and agree with TomTLC. NOT regularizing intercept by default would make it consistent with scikit-learn's Ridge and Lasso. Also bit of a gotcha with ElasticNet: Ridge is as one would expect: |
hahahaha TomTLC is not quite @TomDLT. Thanks for the feedback (and the
laugh).
|
Yea wish some days I could get it backwards, it is pretty funny... |
also see #6830 |
I'm glad we're improving our quality on this front!! |
The current defaults are so for historical reasons. It may make sense to change them to more consistent and theoretically sound options.
The text was updated successfully, but these errors were encountered: