8000 MNT fix changelog 1.0.1 (#21416) · samronsin/scikit-learn@c22c674 · GitHub
[go: up one dir, main page]

Skip to content

Commit c22c674

Browse files
glemaitresamronsin
authored andcommitted
MNT fix changelog 1.0.1 (scikit-learn#21416)
1 parent 763954c commit c22c674

File tree

2 files changed

+30
-36
lines changed

2 files changed

+30
-36
lines changed

doc/whats_new/v1.0.rst

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Version 1.0.1
88
=============
99

10-
**In Development**
10+
**October 2021**
1111

1212
Changelog
1313
---------
@@ -43,6 +43,14 @@ Fixed models
4343
between sparse and dense input. :pr:`21195`
4444
by :user:`Jérémie du Boisberranger <jeremiedbb>`.
4545

46+
:mod:`sklearn.ensemble`
47+
.......................
48+
49+
- |Fix| Fixed a bug that could produce a segfault in rare cases for
50+
:class:`ensemble.HistGradientBoostingClassifier` and
51+
:class:`ensemble.HistGradientBoostingRegressor`.
52+
:pr:`21130` :user:`Christian Lorentzen <lorentzenchr>`.
53+
4654
:mod:`sklearn.gaussian_process`
4755
...............................
4856

@@ -59,12 +67,21 @@ Fixed models
5967
longer checks for uppercase characters in the provided vocabulary. :pr:`21251`
6068
by :user:`Jérémie du Boisberranger <jeremiedbb>`.
6169

70+
- |Fix| Fixed a bug in :class:`feature_extraction.CountVectorizer` and
71+
:class:`feature_extraction.TfidfVectorizer` by raising an
72+
error when 'min_idf' or 'max_idf' are floating-point numbers greater than 1.
73+
:pr:`20752` by :user:`Alek Lefebvre <AlekLefebvre>`.
74+
6275
:mod:`sklearn.linear_model`
6376
...........................
6477

6578
- |Fix| Improves stability of :class:`linear_model.LassoLars` for different
6679
versions of openblas. :pr:`21340` by `Thomas Fan`_.
6780

81+
- |Fix| :class:`linear_model.LogisticRegression` now raises a better error
82+
message when the solver does not support sparse matrices with int64 indices.
83+
:pr:`21093` by `Tom Dupre la Tour`_.
84+
6885
:mod:`sklearn.neighbors`
6986
........................
7087

@@ -95,6 +112,18 @@ Fixed models
95112
:mod:`sklearn.utils`
96113
....................
97114

115+
- |Enhancement| :func:`utils.validation._check_sample_weight` can perform a
116+
non-negativity check on the sample weights. It can be turned on
117+
using the only_non_negative bool parameter.
118+
Estimators that check for non-negative weights are updated:
119+
:func:`linear_model.LinearRegression` (here the previous
120+
error message was misleading),
121+
:func:`ensemble.AdaBoostClassifier`,
122+
:func:`ensemble.AdaBoostRegressor`,
123+
:func:`neighbors.KernelDensity`.
124+
:pr:`20880` by :user:`Guillaume Lemaitre <glemaitre>`
125+
and :user:`András Simon <simonandras>`.
126+
98127
- |Fix| Solve a bug in :func:`~sklearn.utils.metaestimators.if_delegate_has_method`
99128
where the underlying check for an attribute did not work with NumPy arrays.
100129
:pr:`21145` by :user:`Zahlii <Zahlii>`.

doc/whats_new/v1.1.rst

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -52,36 +52,13 @@ Changelog
5252
reconstruction of a `X` target when a `Y` parameter is given. :pr:`19680` by
5353
:user:`Robin Thibaut <robinthibaut>`.
5454

55-
:mod:`sklearn.ensemble`
56-
.......................
57-
58-
- |Fix| Fixed a bug that could produce a segfault in rare cases for
59-
:class:`ensemble.HistGradientBoostingClassifier` and
60-
:class:`ensemble.HistGradientBoostingRegressor`.
61-
:pr:`21130` :user:`Christian Lorentzen <lorentzenchr>`.
62-
63-
:mod:`sklearn.feature_extraction`
64-
.................................
65-
66-
- |Fix| Fixed a bug in :class:`feature_extraction.CountVectorizer` and
67-
:class:`feature_extraction.TfidfVectorizer` by raising an
68-
error when 'min_idf' or 'max_idf' are floating-point numbers greater than 1.
69-
:pr:`20752` by :user:`Alek Lefebvre <AlekLefebvre>`.
70-
7155
:mod:`sklearn.impute`
7256
.....................
7357

7458
- |API| Adds :meth:`get_feature_names_out` to :class:`impute.SimpleImputer`,
7559
:class:`impute.KNNImputer`, :class:`impute.IterativeImputer`, and
7660
:class:`impute.MissingIndicator`. :pr:`21078` by `Thomas Fan`_.
7761

78-
:mod:`sklearn.linear_model`
79-
...........................
80-
81-
- |Fix| :class:`linear_model.LogisticRegression` now raises a better error
82-
message when the solver does not support sparse matrices with int64 indices.
83-
:pr:`21093` by `Tom Dupre la Tour`_.
84-
8562
:mod:`sklearn.metrics`
8663
......................
8764

@@ -108,18 +85,6 @@ Changelog
10885
:mod:`sklearn.utils`
10986
....................
11087

111-
- |Enhancement| :func:`utils.validation._check_sample_weight` can perform a
112-
non-negativity check on the sample weights. It can be turned on
113-
using the only_non_negative bool parameter.
114-
Estimators that check for non-negative weights are updated:
115-
:func:`linear_model.LinearRegression` (here the previous
116-
error message was misleading),
117-
:func:`ensemble.AdaBoostClassifier`,
118-
:func:`ensemble.AdaBoostRegressor`,
119-
:func:`neighbors.KernelDensity`.
120-
:pr:`20880` by :user:`Guillaume Lemaitre <glemaitre>`
121-
and :user:`András Simon <simonandras>`.
122-
12388
- |Enhancement| :func:`utils.estimator_html_repr` shows a more helpful error
12489
message when running in a jupyter notebook that is not trusted. :pr:`21316`
12590
by `Thomas Fan`_.

0 commit comments

Comments
 (0)
0