Skip to content

Commit 0d5e7b1

Browse files
committed
move some issues from 1.2 to 1.1
1 parent 6894a9b commit 0d5e7b1

File tree

2 files changed

+60
-39
lines changed

2 files changed

+60
-39
lines changed

doc/whats_new/v1.1.rst

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ Version 1.1.2
99

1010
**In Development**
1111

12+
Changed models
13+
--------------
14+
15+
The following estimators and functions, when fit with the same data and
16+
parameters, may produce different models from the previous version. This often
17+
occurs due to changes in the modelling logic (bug fixes or enhancements), or in
18+
random sampling procedures.
19+
20+
- |Fix| :class:`manifold.TSNE` now throws a `ValueError` when fit with
21+
`perplexity>=n_samples` to ensure mathematical correctness of the algorithm.
22+
:pr:`10805` by :user:`Mathias Andersen <MrMathias>` and
23+
:pr:`23471` by :user:`Meekail Zain <micky774>`.
24+
1225
Changelog
1326
---------
1427

@@ -23,7 +36,7 @@ Changelog
2336
`Thomas Fan`_.
2437

2538
:mod:`sklearn.base`
26-
......................
39+
...................
2740

2841
- |Fix| The `get_params` method of the :class:`BaseEstimator` class now supports
2942
estimators with `type`-type params that have the `get_params` method.
@@ -36,13 +49,59 @@ Changelog
3649
a node if there are duplicates in the dataset.
3750
:pr:`23395` by :user:`Jérémie du Boisberranger <jeremiedbb>`.
3851

52+
:mod:`sklearn.feature_selection`
53+
................................
54+
55+
- |Fix| :class:`feature_selection.SelectFromModel` defaults to selection
56+
threshold 1e-5 when the estimator is either :class:`linear_model.ElasticNet`
57+
or :class:`linear_model.ElasticNetCV` with `l1_ratio` equals 1 or
58+
:class:`linear_model.LassoCV`.
59+
:pr:`23636` by :user:`Hao Chun Chang <haochunchang>`.
60+
61+
:mod:`sklearn.impute`
62+
.....................
63+
64+
- |Fix| :class:`impute.SimpleImputer` uses the dtype seen in `fit` for
65+
`transform` when the dtype is object. :pr:`22063` by `Thomas Fan`_.
66+
67+
:mod:`sklearn.linear_model`
68+
...........................
69+
70+
- |Fix| Use dtype-aware tolerances for the validation of gram matrices (passed by users
71+
or precomputed). :pr:`22059` by :user:`Malte S. Kurz <MalteKurz>`.
72+
73+
- |Fix| Fixed an error in :class:`linear_model.LogisticRegression` with
74+
`solver="newton-cg"`, `fit_intercept=True`, and a single feature. :pr:`23608`
75+
by `Tom Dupre la Tour`_.
76+
77+
:mod:`sklearn.manifold`
78+
.......................
79+
80+
- |Fix| :class:`manifold.TSNE` now throws a `ValueError` when fit with
81+
`perplexity>=n_samples` to ensure mathematical correctness of the algorithm.
82+
:pr:`10805` by :user:`Mathias Andersen <MrMathias>` and
83+
:pr:`23471` by :user:`Meekail Zain <micky774>`.
84+
85+
:mod:`sklearn.metrics`
86+
......................
87+
88+
- |Fix| Fixed error message of :class:`metrics.coverage_error` for 1D array input.
89+
:pr:`23548` by :user:`Hao Chun Chang <haochunchang>`.
90+
3991
:mod:`sklearn.preprocessing`
4092
............................
4193

4294
- |Fix| :meth:`preprocessing.OrdinalEncoder.inverse_transform` correctly handles
4395
use cases where `unknown_value` or `encoded_missing_value` is `nan`. :pr:`24087`
4496
by `Thomas Fan`_.
4597

98+
:mod:`sklearn.tree`
99+
...................
100+
101+
- |Fix| Fixed invalid memory access bug during fit in
102+
:class:`tree.DecisionTreeRegressor` and :class:`tree.DecisionTreeClassifier`.
103+
:pr:`23273` by `Thomas Fan`_.
104+
46105
.. _changes_1_1_1:
47106

48107
Version 1.1.1

doc/whats_new/v1.2.rst

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ random sampling procedures.
2525
or `'lobpcg'` solvers. This change improves numerical stability of the
2626
solver, but may result in a different model.
2727

28-
- |Fix| :class:`manifold.TSNE` now throws a `ValueError` when fit with
29-
`perplexity>=n_samples` to ensure mathematical correctness of the algorithm.
30-
:pr:`10805` by :user:`Mathias Andersen <MrMathias>` and
31-
:pr:`23471` by :user:`Meekail Zain <micky774>`
32-
3328
- |Enhancement| :class:`linear_model.GammaRegressor`,
3429
:class:`linear_model.PoissonRegressor` and :class:`linear_model.TweedieRegressor`
3530
can reach higher precision with the lbfgs solver, in particular when `tol` is set
@@ -163,30 +158,9 @@ Changelog
163158
:pr:`11860` by :user:`Pierre Ablin <pierreablin>`,
164159
:pr:`22527` by :user:`Meekail Zain <micky774>` and `Thomas Fan`_.
165160

166-
:mod:`sklearn.feature_selection`
167-
................................
168-
- |Fix| :class:`feature_selection.SelectFromModel` defaults to selection
169-
threshold 1e-5 when the estimator is either :class:`linear_model.ElasticNet`
170-
or :class:`linear_model.ElasticNetCV` with `l1_ratio` equals 1 or
171-
:class:`linear_model.LassoCV`. :pr:`23636` by :user:`Hao Chun Chang
172-
<haochunchang>`
173-
174-
:mod:`sklearn.impute`
175-
.....................
176-
177-
- |Fix| :class:`impute.SimpleImputer` uses the dtype seen in `fit` for
178-
`transform` when the dtype is object. :pr:`22063` by `Thomas Fan`_.
179-
180161
:mod:`sklearn.linear_model`
181162
...........................
182163

183-
- |Fix| Use dtype-aware tolerances for the validation of gram matrices (passed by users
184-
or precomputed). :pr:`22059` by :user:`Malte S. Kurz <MalteKurz>`.
185-
186-
- |Fix| Fixed an error in :class:`linear_model.LogisticRegression` with
187-
`solver="newton-cg"`, `fit_intercept=True`, and a single feature. :pr:`23608`
188-
by `Tom Dupre la Tour`_.
189-
190164
- |Enhancement| :class:`linear_model.GammaRegressor`,
191165
:class:`linear_model.PoissonRegressor` and :class:`linear_model.TweedieRegressor`
192166
can reach higher precision with the lbfgs solver, in particular when `tol` is set
@@ -217,9 +191,6 @@ Changelog
217191
:pr:`22710` by :user:`Conroy Trinh <trinhcon>` and
218192
:pr:`23461` by :user:`Meekail Zain <micky774>`.
219193

220-
- |Fix| Fixed error message of :class:`metrics.coverage_error` for 1D array input.
221-
:pr:`23548` by :user:`Hao Chun Chang <haochunchang>`.
222-
223194
:mod:`sklearn.multioutput`
224195
..........................
225196

@@ -267,10 +238,6 @@ Changelog
267238
- |Enhancement| :func:`tree.plot_tree`, :func:`tree.export_graphviz` now uses
268239
a lower case `x[i]` to represent feature `i`. :pr:`23480` by `Thomas Fan`_.
269240

270-
- |Fix| Fixed invalid memory access bug during fit in
271-
:class:`tree.DecisionTreeRegressor` and :class:`tree.DecisionTreeClassifier`.
272-
:pr:`23273` by `Thomas Fan`_.
273-
274241
:mod:`sklearn.utils`
275242
....................
276243

@@ -298,11 +265,6 @@ Changelog
298265
`eigen_tol="auto"` in version 1.3.
299266
:pr:`23210` by :user:`Meekail Zain <micky774>`.
300267

301-
- |Fix| :class:`manifold.TSNE` now throws a `ValueError` when fit with
302-
`perplexity>=n_samples` to ensure mathematical correctness of the algorithm.
303-
:pr:`10805` by :user:`Mathias Andersen <MrMathias>` and
304-
:pr:`23471` by :user:`Meekail Zain <micky774>`
305-
306268
:mod:`sklearn.naive_bayes`
307269
..........................
308270

0 commit comments

Comments
 (0)