forked from scikit-learn/scikit-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX properly report
n_iter_
in case of fallback from Newton-Cholesk…
…y to LBFGS (scikit-learn#30100) Co-authored-by: Christian Lorentzen <[email protected]> Co-authored-by: Guillaume Lemaitre <[email protected]>
- Loading branch information
1 parent
bc8eb66
commit 39e1cc1
Showing
3 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
doc/whats_new/upcoming_changes/sklearn.linear_model/30100.fix.rst
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- :class:`linear_model.LogisticRegression` and and other linear models that | ||
accept `solver="newton-cholesky"` now report the correct number of iterations | ||
when they fall back to the `"lbfgs"` solver because of a rank deficient | ||
Hessian matrix. | ||
By :user:`Olivier Grisel <ogrisel>` |
This file contains 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 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