Skip to content

Commit

Permalink
DOC move somes fixes from 1.4 to 1.3.2 (scikit-learn#27602)
Browse files Browse the repository at this point in the history
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
  • Loading branch information
glemaitre and ogrisel committed Oct 31, 2023
1 parent 9c0b4b2 commit 435f863
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
24 changes: 24 additions & 0 deletions doc/whats_new/v1.3.rst
Expand Up @@ -12,6 +12,30 @@ Version 1.3.2
Changelog
---------

:mod:`sklearn.datasets`
.......................

- |Fix| All dataset fetchers now accept `data_home` as any object that implements
the :class:`os.PathLike` interface, for instance, :class:`pathlib.Path`.
:pr:`27468` by :user:`Yao Xiao <Charlie-XIAO>`.

:mod:`sklearn.decomposition`
............................

- |Fix| Fixes a bug in :class:`decomposition.KernelPCA` by forcing the output of
the internal :class:`preprocessing.KernelCenterer` to be a default array. When the
arpack solver is used, it expects an array with a `dtype` attribute.
:pr:`27583` by :user:`Guillaume Lemaitre <glemaitre>`.

:mod:`sklearn.metrics`
......................

- |Fix| Fixes a bug for metrics using `zero_division=np.nan`
(e.g. :func:`~metrics.precision_score`) within a paralell loop
(e.g. :func:`~model_selection.cross_val_score`) where the singleton for `np.nan`
will be different in the sub-processes.
:pr:`27573` by :user:`Guillaume Lemaitre <glemaitre>`.

:mod:`sklearn.tree`
...................

Expand Down
15 changes: 0 additions & 15 deletions doc/whats_new/v1.4.rst
Expand Up @@ -233,10 +233,6 @@ Changelog
which returns a dense numpy ndarray as before.
:pr:`27438` by :user:`Yao Xiao <Charlie-XIAO>`.

- |Fix| All dataset fetchers now accept `data_home` as any object that implements
the :class:`os.PathLike` interface, for instance, :class:`pathlib.Path`.
:pr:`27468` by :user:`Yao Xiao <Charlie-XIAO>`.

:mod:`sklearn.decomposition`
............................

Expand All @@ -253,11 +249,6 @@ Changelog
:pr:`26315` and :pr:`27098` by :user:`Mateusz Sokół <mtsokol>`,
:user:`Olivier Grisel <ogrisel>` and :user:`Edoardo Abati <EdAbati>`.

- |Fix| Fixes a bug in :class:`decomposition.KernelPCA` by forcing the output of
the internal :class:`preprocessing.KernelCenterer` to be a default array. When the
arpack solver was used, it would expect an array with a `dtype` attribute.
:pr:`27583` by :user:`Guillaume Lemaitre <glemaitre>`.

:mod:`sklearn.ensemble`
.......................

Expand Down Expand Up @@ -367,12 +358,6 @@ Changelog
`response_method=("decision_function", "predict_proba")`.
:pr:`26840` by :user:`Guillaume Lemaitre <glemaitre>`.

- |Fix| Fixes a bug for metrics using `zero_division=np.nan`
(e.g. :func:`~metrics.precision_score`) within a paralell loop
(e.g. :func:`~model_selection.cross_val_score`) where the singleton for `np.nan`
will be different in the sub-processes.
:pr:`27573` by :user:`Guillaume Lemaitre <glemaitre>`.

- |API| The `squared` parameter of :func:`metrics.mean_squared_error` and
:func:`metrics.mean_squared_log_error` is deprecated and will be removed in 1.6.
Use the new functions :func:`metrics.root_mean_squared_error` and
Expand Down

0 comments on commit 435f863

Please sign in to comment.