Skip to content

Commit a1f8909

Browse files
committed
minor clean
1 parent b7f2829 commit a1f8909

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

doc/whats_new/v0.21.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,20 @@ Changelog
1515
:mod:`sklearn.impute`
1616
.....................
1717

18-
- |Fix| Fixed a bug in :class:`SimpleImputer` and :class:`IterativeImputer`
19-
so that no errors are thrown when there are missing values in training data.
20-
:pr:`13974` by `Frank Hoang <fhoang7>`.
18+
- |Fix| Fixed a bug in :class:`impute.SimpleImputer` and
19+
:class:`impute.IterativeImputer` so that no errors are thrown when there are
20+
missing values in training data. :pr:`13974` by `Frank Hoang <fhoang7>`.
2121

2222
:mod:`sklearn.linear_model`
2323
...........................
2424
- |Fix| Fixed a bug in :class:`linear_model.LogisticRegressionCV` where
2525
``refit=False`` would fail depending on the ``'multiclass'`` and
2626
``'penalty'`` parameters (regression introduced in 0.21). :pr:`14087` by
2727
`Nicolas Hug`_.
28-
- |Fix| Compatibility fix for :class:`ARDRegression` and Scipy>=1.3.0. Adapts to
29-
upstream changes to the default `pinvh` cutoff threshold which otherwise results
30-
in poor accuracy in some cases. :pr:`14067` by :user:`Tim Staley <timstaley>`.
28+
- |Fix| Compatibility fix for :class:`linear_model.ARDRegression` and
29+
Scipy>=1.3.0. Adapts to upstream changes to the default `pinvh` cutoff
30+
threshold which otherwise results in poor accuracy in some cases.
31+
:pr:`14067` by :user:`Tim Staley <timstaley>`.
3132

3233
:mod:`sklearn.tree`
3334
...................

sklearn/externals/_scipy_linalg.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This should remained pinned to version 1.2 and not updated like other
2+
# externals.
13
"""Copyright (c) 2001-2002 Enthought, Inc. 2003-2019, SciPy Developers.
24
All rights reserved.
35
@@ -113,4 +115,4 @@ def pinvh(a, cond=None, rcond=None, lower=True, return_rank=False,
113115
if return_rank:
114116
return B, len(psigma_diag)
115117
else:
116-
return B
118+
return B

0 commit comments

Comments
 (0)