Skip to content

Commit 039d650

Browse files
FIX partial_fit from SelectFromModel doesn't validate the parameters (#23299)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
1 parent 12f3e07 commit 039d650

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

doc/whats_new/v1.2.rst

+32
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,38 @@ Changelog
3333
:pr:`123456` by :user:`Joe Bloggs <joeongithub>`.
3434
where 123456 is the *pull request* number, not the issue number.
3535
36+
:mod:`sklearn.cluster`
37+
......................
38+
39+
- |Enhancement| The `predict` and `fit_predict` methods of :class:`cluster.OPTICS` now
40+
accept sparse data type for input data. :pr:`14736` by :user:`Hunt Zhan <huntzhan>`,
41+
:pr:`20802` by :user:`Brandon Pokorny <Clickedbigfoot>`,
42+
and :pr:`22965` by :user:`Meekail Zain <micky774>`.
43+
44+
- |Enhancement| :class:`cluster.Birch` now preserves dtype for `numpy.float32`
45+
inputs. :pr:`22968` by `Meekail Zain <micky774>`.
46+
47+
:mod:`sklearn.ensemble`
48+
.......................
49+
50+
- |Efficiency| Improve runtime performance of :class:`ensemble.IsolationForest`
51+
by avoiding data copies. :pr:`23252` by :user:`Zhehao Liu <MaxwellLZH>`.
52+
53+
:mod:`sklearn.neighbors`
54+
........................
55+
56+
- |Enhancement| :class:`neighbors.KernelDensity` bandwidth parameter now accepts
57+
definition using Scott's and Silvermann's estimation methods.
58+
:pr:`10468` by :user:`Ruben <icfly2>` and :pr:`22993` by
59+
:user:`Jovan Stojanovic <jovan-stojanovic>`.
60+
61+
:mod:`sklearn.feature_selection`
62+
................................
63+
64+
- |Fix| The `partial_fit` method of :class:`feature_selection.SelectFromModel`
65+
now conducts validation for `max_features` and `feature_names_in` parameters.
66+
:pr:`23299` by :user:`Long Bao <lorentzbao>`.
67+
3668
Code and Documentation Contributors
3769
-----------------------------------
3870

0 commit comments

Comments
 (0)