8000 MAINT Move 1.4.2 changelog entries into 1.5 (#28777) · patrickkwang/scikit-learn@b4a783b · GitHub
[go: up one dir, main page]

Skip to content

Commit b4a783b

Browse files
jeremiedbbglemaitreogrisel
authored
MAINT Move 1.4.2 changelog entries into 1.5 (scikit-learn#28777)
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai> Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
1 parent cd1b1be commit b4a783b

File tree

2 files changed

+36
-56
lines changed

2 files changed

+36
-56
lines changed

doc/whats_new/v1.4.rst

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -20,53 +20,7 @@ Version 1.4.2
2020

2121
**TBA 2024**
2222

23-
Metadata Routing
24-
----------------
25-
26-
- |FIX| Fix an issue when resolving default routing requests set via class
27-
attributes.
28-
:pr:`28435` by `Adrin Jalali`_.
29-
30-
- |FIX| Fix an issue when `set_{method}_request` methods are used as unbound
31-
methods, which can happen if one tries to decorate them.
32-
:pr:`28651` by `Adrin Jalali`_.
33-
34-
Changelog
35-
---------
36-
37-
:mod:`sklearn.metrics`
38-
......................
39-
40-
- |Fix|:class:`metrics.classification_report` now shows only accuracy and not
41-
micro-average when input is a subset of labels.
42-
:pr:`28399` by :user:`Vineet Joshi <vjoshi253>`.
43-
44-
- |Fix| Fix OpenBLAS 0.3.26 dead-lock on Windows in pairwise distances
45-
computation. This is likely to affect neighbor-based algorithms.
46-
:pr:`28692` by :user:`Loïc Estève <lesteve>`.
47-
48-
:mod:`sklearn.mixture`
49-
......................
50-
51-
- |Fix| The `converged_` attribute of :class:`mixture.GaussianMixture` and
52-
:class:`mixture.BayesianGaussianMixture` now reflects the convergence status of
53-
the best fit whereas it was previously `True` if any of the fits converged.
54-
:pr:`26837` by :user:`Krsto Proroković <krstopro>`.
55-
56-
:mod:`sklearn.neighbors`
57-
........................
58-
59-
- |Fix| Fixes :class:`neighbors.NeighborhoodComponentsAnalysis` such that
60-
`get_feature_names_out` returns the correct number of feature names.
61-
:pr:`28306` by :user:`Brendan Lu <brendanlu>`.
62-
63-
:mod:`sklearn.utils`
64-
....................
65-
66-
- |Fix| :func:`~utils._safe_indexing` now works correctly for polars DataFrame when
67-
`axis=0` and supports indexing polars Series.
68-
:pr:`28521` by :user:`Yao Xiao <Charlie-XIAO>`.
69-
23+
This release only includes support for numpy 2.
7024

7125
.. _changes_1_4_1:
7226

doc/whats_new/v1.5.rst

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,6 @@ more details.
7979
:class:`model_selection.GridSearchCV` object or the underlying scorer.
8080
:pr:`27560` by :user:`Omar Salman <OmarManzoor>`.
8181

82-
Metadata Routing
83-
----------------
84-
85-
The following models now support metadata routing in one or more or their
86-
methods. Refer to the :ref:`Metadata Routing User Guide <metadata_routing>` for
87-
more details.
88-
8982
- |Feature| :class:`linear_model.RANSACRegressor` now supports metadata routing
9083
in its ``fit``, ``score`` and ``predict`` methods and route metadata to its
9184
underlying estimator's' ``fit``, ``score`` and ``predict`` methods.
@@ -101,6 +94,13 @@ more details.
10194
transformers' ``fit`` and ``fit_transform``. :pr:`28205` by :user:`Stefanie
10295
Senger <StefanieSenger>`.
10396

97+
- |Fix| Fix an issue when resolving default routing requests set via class
98+
attributes.
99+
:pr:`28435` by `Adrin Jalali`_.
100+
101+
- |Fix| Fix an issue when `set_{method}_request` methods are used as unbound
102+
methods, which can happen if one tries to decorate them.
103+
:pr:`28651` by `Adrin Jalali`_.
104104

105105
Changelog
106106
---------
@@ -277,6 +277,14 @@ Changelog
277277
- |Feature| :func:`sklearn.metrics.check_scoring` now returns a multi-metric scorer
278278
when `scoring` as a `dict`, `set`, `tuple`, or `list`. :pr:`28360` by `Thomas Fan`_.
279279

280+
- |Fix|:class:`metrics.classification_report` now shows only accuracy and not
281+
micro-average when input is a subset of labels.
282+
:pr:`28399` by :user:`Vineet Joshi <vjoshi253>`.
283+
284+
- |Fix| Fix OpenBLAS 0.3.26 dead-lock on Windows in pairwise distances
285+
computation. This is likely to affect neighbor-based algorithms.
286+
:pr:`28692` by :user:`Loïc Estève <lesteve>`.
287+
280288
- |API| :func:`metrics.precision_recall_curve` deprecated the keyword argument `probas_pred`
281289
in favor of `y_score`. `probas_pred` will be removed in version 1.7.
282290
:pr:`28092` by :user:`Adam Li <adam2392>`.
@@ -285,6 +293,14 @@ Changelog
285293
in favor of `y_proba`. `y_prob` will be removed in version 1.7.
286294
:pr:`28092` by :user:`Adam Li <adam2392>`.
287295

296+
:mod:`sklearn.mixture`
297+
......................
298+
299+
- |Fix| The `converged_` attribute of :class:`mixture.GaussianMixture` and
300+
:class:`mixture.BayesianGaussianMixture` now reflects the convergence status of
301+
the best fit whereas it was previously `True` if any of the fits converged.
302+
:pr:`26837` by :user:`Krsto Proroković <krstopro>`.
303+
288304
:mod:`sklearn.model_selection`
289305
..............................
290306

@@ -299,13 +315,19 @@ Changelog
299315
implementations of the Array API like CuPY.
300316
:pr:`28407` by `Tim Head <betatim>`.
301317

302-
303318
:mod:`sklearn.multioutput`
304319
..........................
305320

306-
- |Enhancement| `chain_method` parameter added to `:class:``multioutput.ClassifierChain`.
321+
- |Enhancement| `chain_method` parameter added to `:class:`multioutput.ClassifierChain`.
307322
:pr:`27700` by :user:`Lucy Liu <lucyleeow>`.
308323

324+
:mod:`sklearn.neighbors`
325+
........................
326+
327+
- |Fix| Fixes :class:`neighbors.NeighborhoodComponentsAnalysis` such that
328+
`get_feature_names_out` returns the correct number of feature names.
329+
:pr:`28306` by :user:`Brendan Lu <brendanlu>`.
330+
309331
:mod:`sklearn.pipeline`
310332
.......................
311333

@@ -341,6 +363,10 @@ Changelog
341363
- |API| :func:`utils.tosequence` is deprecated and will be removed in version 1.7.
342364
:pr:`28763` by :user:`Jérémie du Boisberranger <jeremiedbb>`.
343365

366+
- |Fix| :func:`~utils._safe_indexing` now works correctly for polars DataFrame when
367+
`axis=0` and supports indexing polars Series.
368+
:pr:`28521` by :user:`Yao Xiao <Charlie-XIAO>`.
369+
344370
.. rubric:: Code and documentation contributors
345371

346372
Thanks to everyone who has contributed to the maintenance and improvement of

0 commit comments

Comments
 (0)
0