-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DEP deprecate multi_class in LogisticRegression #28703
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
Merged
jeremiedbb
merged 25 commits into
scikit-learn:main
from
lorentzenchr:deprecate_ovr_logreg
May 3, 2024
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
103d9ef
DEP deprecate multi_class in LogisticRegression
lorentzenchr c0901a3
DOC improve deprecation messages
lorentzenchr 2e3605f
DOC improve solver support matrix
lorentzenchr fced0b2
FIX do not change self.multi_class in fit
lorentzenchr df4091e
DEP multi_class in LogisticRegressionCV
lorentzenchr c192198
DOC update linear model user guide
lorentzenchr a80142b
FIX typos
lorentzenchr 1b67f3e
DOC / EXA adapt for deprecated ovr
lorentzenchr b4a6629
EXA fix coef in example
lorentzenchr 398fd01
FIX develop.rst
lorentzenchr 100ae1d
TST fix linear model tests
lorentzenchr 1072da0
DOC / EXA fix examples and docstring with LogisticRegression(multi_cl…
lorentzenchr fc8f319
EXA fix plot_logistic_multinomial
lorentzenchr 94a7ec5
TST catch all FutureWarnings in test_logistic.py
lorentzenchr 9f03542
Merge branch 'main' into deprecate_ovr_logreg
lorentzenchr 81161e5
TST make all tests pass with -Werror::FutureWarning
lorentzenchr 8dc3c0d
Merge branch 'main' into deprecate_ovr_logreg
lorentzenchr a67bb05
DOC add whatsnew
lorentzenchr 29f6b52
CLN whatsnew entry text alignment
lorentzenchr 63a9399
CLN address review comments
lorentzenchr 1350563
Merge branch 'main' into deprecate_ovr_logreg
jeremiedbb 535fa9f
CLN address review comments
lorentzenchr 179741e
ENH add additional warning for binary multinomial
lorentzenchr 29d2e79
CLN filterwarnings in test_multinomial_binary
lorentzenchr 10e73d8
Merge branch 'main' into deprecate_ovr_logreg
lorentzenchr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
All these coef reconstruction make me wonder if we should enable OneVsRestClassifier to do it automatically. It could have a
coef_
property as fitted attribute defined with anavailable_if
onestimators_.coef_
.Not to do in this PR though, just a thought for later