-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
FIX report properly n_iter_
when warm_start=True
#25443
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
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
46f76cb
Bug: Add return for break when max iter is reached
Marvvxi d8bcaf9
Bug: Change return to break (out of loop)
Marvvxi f854bed
MLP: Make end condition explicit.
Marvvxi f249df9
MLP: Add test warm start no convergence
Marvvxi 6dec290
MLP: mlp.learning_rate_init is equal post_eta
Marvvxi 0d84136
MLP: max_iter corresponds to now the real max iter
Marvvxi 8415ba0
MLP: Decrease relative tolerance, NN was previously trained over max …
Marvvxi 35a36ae
MLP: update whats new
Marvvxi 4ca93b7
Merge branch 'main' into MLPRegressor
glemaitre ba101f2
fixes
glemaitre f49c22f
DOC fix sphinx issue
glemaitre b60445f
move entry from 1.2 to 1.3
glemaitre 17a8389
Merge branch 'main' into MLPRegressor
glemaitre 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
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.
@glemaitre Given that we test this behavior, I think this backward incompatible change is too big to be in a bug fix release (1.2.2).
The safe choice is to go through a deprecation cycle, but we can also consider this a bug fix for the 1.3 release.
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.
I think it's a bug fix because it didn't follow the expectation of
warm_start
, probably because our expectation were not clear enough. So I think that we don't need a deprecation cycle. But I'm fine with targeting 1.3 instead of 1.2.2.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.
I am fine as well for delaying to 1.3 but I am surely convinced that this is a bug :)