-
Notifications
You must be signed in to change notification settings - Fork 892
MAINT: remove deprecated multi_class="multinomial" from LogisticRegression usage #1147
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
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
8cfa07f to
7b7ef97
Compare
mlxtend/feature_selection/tests/test_exhaustive_feature_selector.py
Outdated
Show resolved
Hide resolved
mlxtend/feature_selection/tests/test_sequential_feature_selector.py
Outdated
Show resolved
Hide resolved
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
|
Thanks for the review and merge 🙂 |
This PR removes explicit
multi_class="multinomial"arguments fromLogisticRegression usage in examples / notebooks / tests.
In sklearn ≥ 1.5 the
multi_classparameter is deprecated and will beremoved in 1.7. The default behavior is now always
multinomial, soremoving this avoids FutureWarning while keeping identical behavior.
✓ verified on sklearn ≥ 1.6
✓ warnings disappear
✓ outputs unchanged
Note: usages with
multi_class="ovr"were intentionally left unchangedto avoid altering behavior.
Closes #1126