-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC: Add missing solver in the doc of LogisticRegressionCV
#29463
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
Indeed, we mentioned in other places the solver that are supported but this is true that we are not enough explicit in the @ParsifalXu Do you want to make a PR to improve the documentation in this regard. |
@glemaitre Thanks for quick confirm. Sure, I'm glad to make a PR. |
Please don‘t open a PR and better consider reviewing #28840 which adds multinomial multiclass to newton-cholesky. |
Describe the issue linked to the documentation
Hi,
I found a potential code-doc inconsistency issue in
sklearn.linear_model.LogisticRegression
andsklearn.linear_model.LogisticRegressionCV
.In the description of
multi_class
, the document claims that Multinomial is unavailable when solver='liblinear'. However, in the code:Apparently,
multinomial
is unavailable not only whensolver=liblinear
but also whensolver='newton-cholesky'
.Suggest a potential alternative/fix
Maybe you can add "newton-cholesky" in the corresponding document.
The text was updated successfully, but these errors were encountered: