Skip to content

Commit 66de4fa

Browse files
authored
move bug-fixes to 0.18.1 in whatsnew, add API changes (where did they… (scikit-learn#7850)
* move bug-fixes to 0.18.1 in whatsnew, add API changes (where did they go?) * use :issue: to refer to PRs * moved 0.19 bugfix to bugfix section. * add link for Alyssa
1 parent a997ac6 commit 66de4fa

File tree

1 file changed

+46
-31
lines changed

1 file changed

+46
-31
lines changed

doc/whats_new.rst

Lines changed: 46 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ Enhancements
4848
nearest cluster center. :issue:`7721` by :user:`Jon Crall <Erotemic>`.
4949

5050
- Added ``classes_`` attribute to :class:`model_selection.GridSearchCV`
51-
that matches the ``classes_`` attribute of ``best_estimator_``. (`#7661
52-
<https://github.com/scikit-learn/scikit-learn/pull/7661>`_) by `Alyssa
53-
Batula`_ and :user:`Dylan Werner-Meier <unautre>`.
51+
that matches the ``classes_`` attribute of ``best_estimator_``. :issue:`7661`
52+
by :user:`Alyssa Batula <abatula>`_ and :user:`Dylan Werner-Meier <unautre>`.
5453

5554
- The ``min_weight_fraction_leaf`` constraint in tree construction is now
5655
more efficient, taking a fast path to declare a node a leaf if its weight
@@ -93,37 +92,11 @@ Enhancements
9392
Bug fixes
9493
.........
9594

96-
- Fix a bug where :class:`sklearn.feature_selection.SelectFdr` did not
97-
exactly implement Benjamini-Hochberg procedure. It formerly may have
98-
selected fewer features than it should.
99-
:issue:`7490` by :user:`Peng Meng <mpjlu>`.
100-
101-
- :class:`sklearn.manifold.LocallyLinearEmbedding` now correctly handles
102-
integer inputs. :issue:`6282` by `Jake Vanderplas`_.
103-
104-
- The ``min_weight_fraction_leaf`` parameter of tree-based classifiers and
105-
regressors now assumes uniform sample weights by default if the
106-
``sample_weight`` argument is not passed to the ``fit`` function.
107-
Previously, the parameter was silently ignored. :issue:`7301`
108-
by :user:`Nelson Liu <nelson-liu>`.
109-
110-
- Numerical issue with :class:`linear_model.RidgeCV` on centered data when
111-
`n_features > n_samples`. :issue:`6178` by `Bertrand Thirion`_
112-
113-
- Tree splitting criterion classes' cloning/pickling is now memory safe
114-
:issue:`7680` by :user:`Ibraim Ganiev <olologin>`.
115-
116-
- Fixed a bug where :class:`decomposition.NMF` sets its ``n_iters_``
117-
attribute in `transform()`. :issue:`7553` by :user:`Ekaterina
118-
Krivich <kiote>`.
119-
120-
- :class:`sklearn.linear_model.LogisticRegressionCV` now correctly handles
121-
string labels. :issue:`5874` by `Raghav RV`_.
122-
12395
- Fixed a bug where :class:`sklearn.linear_model.LassoLars` does not give
12496
the same result as the LassoLars implementation available
12597
in R (lars library). :issue:`7849` by `Jair Montoya Martinez`_
12698

99+
127100
.. _changes_0_18_1:
128101

129102
Version 0.18.1
@@ -182,6 +155,33 @@ Bug fixes
182155
has less number of classes than the total data. :issue:`7799` by
183156
`Srivatsan Ramesh`_
184157

158+
- Fix a bug where :class:`sklearn.feature_selection.SelectFdr` did not
159+
exactly implement Benjamini-Hochberg procedure. It formerly may have
160+
selected fewer features than it should.
161+
:issue:`7490` by :user:`Peng Meng <mpjlu>`.
162+
163+
- :class:`sklearn.manifold.LocallyLinearEmbedding` now correctly handles
164+
integer inputs. :issue:`6282` by `Jake Vanderplas`_.
165+
166+
- The ``min_weight_fraction_leaf`` parameter of tree-based classifiers and
167+
regressors now assumes uniform sample weights by default if the
168+
``sample_weight`` argument is not passed to the ``fit`` function.
169+
Previously, the parameter was silently ignored. :issue:`7301`
170+
by :user:`Nelson Liu <nelson-liu>`.
171+
172+
- Numerical issue with :class:`linear_model.RidgeCV` on centered data when
173+
`n_features > n_samples`. :issue:`6178` by `Bertrand Thirion`_
174+
175+
- Tree splitting criterion classes' cloning/pickling is now memory safe
176+
:issue:`7680` by :user:`Ibraim Ganiev <olologin>`.
177+
178+
- Fixed a bug where :class:`decomposition.NMF` sets its ``n_iters_``
179+
attribute in `transform()`. :issue:`7553` by :user:`Ekaterina
180+
Krivich <kiote>`.
181+
182+
- :class:`sklearn.linear_model.LogisticRegressionCV` now correctly handles
183+
string labels. :issue:`5874` by `Raghav RV`_.
184+
185185
- Fixed a bug where :func:`sklearn.model_selection.train_test_split` raised
186186
an error when ``stratify`` is a list of string labels. :issue:`7593` by
187187
`Raghav RV`_.
@@ -202,14 +202,29 @@ Bug fixes
202202
API changes summary
203203
-------------------
204204

205+
Trees and forests
206+
207+
- The ``min_weight_fraction_leaf`` parameter of tree-based classifiers and
208+
regressors now assumes uniform sample weights by default if the
209+
``sample_weight`` argument is not passed to the ``fit`` function.
210+
Previously, the parameter was silently ignored. :issue:`7301` by `Nelson
211+
Liu`_.
212+
213+
- Tree splitting criterion classes' cloning/pickling is now memory safe.
214+
:issue:`7680` by `Ibraim Ganiev`_.
215+
216+
205217
Linear, kernelized and related models
206218

207-
- Length of `explained_variance_ratio` of
219+
- Length of ``explained_variance_ratio`` of
208220
:class:`discriminant_analysis.LinearDiscriminantAnalysis`
209221
changed for both Eigen and SVD solvers. The attribute has now a length
210222
of min(n_components, n_classes - 1). :issue:`7632`
211223
by :user:`JPFrancoia <JPFrancoia>`
212224

225+
- Numerical issue with :class:`linear_model.RidgeCV` on centered data when
226+
``n_features > n_samples``. :issue:`6178` by `Bertrand Thirion`_
227+
213228
.. _changes_0_18:
214229

215230
Version 0.18

0 commit comments

Comments
 (0)