Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC Update changelog before the 1.2.1 release #25436

Merged
merged 8 commits into from Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 34 additions & 0 deletions doc/whats_new/v1.2.rst
Expand Up @@ -22,6 +22,20 @@ random sampling procedures.
into account.
:pr:`25354` by :user:`Jérémie du Boisberranger <jeremiedbb>`.

- |Fix| The `categories_` attribute of :class:`preprocessing.OneHotEncoder` now
always contains an array of `object`s when using predefined categories that
are strings. Predefined categories encoded as bytes will no longer work
with `X` encoded as strings. :pr:`25174` by :user:`Tim Head <betatim>`.

Changes impacting all modules
-----------------------------

- |Fix| Support `pandas.Int64` dtyped `y` for classifiers and regressors.
:pr:`25089` by :user:`Tim Head <betatim>`.

- |Fix| Remove spurious warnings for estimators internally using neighbors search methods.
:pr:`25129` by :user:`Julien Jerphanion <jjerphan>`.

Changelog
---------

Expand Down Expand Up @@ -64,6 +78,12 @@ Changelog
and :class:`ensemble.ExtraTreesRegressor` now support sparse readonly datasets.
:pr:`25341` by :user:`Julien Jerphanion <jjerphan>`

:mod:`sklearn.feature_extraction`
.................................

- |Fix| :class:`feature_extraction.FeatureHasher` raises an informative error
when the input is a list of strings. :pr:`25094` by `Thomas Fan`_.

:mod:`sklearn.linear_model`
...........................

Expand All @@ -78,6 +98,20 @@ Changelog
- |Fix| :class:`manifold.TSNE` now works correctly when output type is
set to pandas :pr:`25370` by :user:`Tim Head <betatim>`.

:mod:`sklearn.model_selection`
..............................

- |Fix| :func:`model_selection.cross_validate` with multimetric scoring in
case of some failing scorers the non-failing scorers now returns proper
scores instead of `error_score` values.
:pr:`23101` by :user:`András Simon <simonandras>` and `Thomas Fan`_.

:mod:`sklearn.neural_network`
.............................

- |Fix| :class:`neural_network.MLPClassifier` and :class:`neural_network.MLPRegressor`
no longer raise warnings when fitting data with feature names.
:pr:`24873` by :user:`Tim Head <betatim>`.

:mod:`sklearn.preprocessing`
............................
Expand Down
26 changes: 0 additions & 26 deletions doc/whats_new/v1.3.rst
Expand Up @@ -29,11 +29,6 @@ random sampling procedures.
`transform_algorithm` is not the same as `fit_algorithm` and the number of iterations
is small. :pr:`24871` by :user:`Omar Salman <OmarManzoor>`.

- |Fix| The `categories_` attribute of :class:`preprocessing.OneHotEncoder` now
always contains an array of `object`s when using predefined categories that
are strings. Predefined categories encoded as bytes will no longer work
with `X` encoded as strings. :pr:`25174` by :user:`Tim Head <betatim>`.

Changes impacting all modules
-----------------------------

Expand Down Expand Up @@ -123,34 +118,13 @@ Changelog
- |Enhancement| Added the parameter `fill_value` to :class:`impute.IterativeImputer`.
:pr:`25232` by :user:`Thijs van Weezel <ValueInvestorThijs>`.

:mod:`sklearn.feature_extraction`
.................................

- |Fix| :class:`feature_extraction.FeatureHasher` raises an informative error
when the input is a list of strings. :pr:`25094` by `Thomas Fan`_.

:mod:`sklearn.model_selection`
..............................

- |Fix| :func:`model_selection.cross_validate` with multimetric scoring in
case of some failing scorers the non-failing scorers now returns proper
scores instead of `error_score` values.
:pr:`23101` by :user:`András Simon <simonandras>` and `Thomas Fan`_.

:mod:`sklearn.naive_bayes`
..........................

- |Fix| :class:`naive_bayes.GaussianNB` does not raise anymore a `ZeroDivisionError`
when the provided `sample_weight` reduces the problem to a single class in `fit`.
:pr:`24140` by :user:`Jonathan Ohayon <Johayon>` and :user:`Chiara Marmo <cmarmo>`.

:mod:`sklearn.neural_network`
.............................

- |Fix| :class:`neural_network.MLPClassifier` and :class:`neural_network.MLPRegressor`
no longer raise warnings when fitting data with feature names.
:pr:`24873` by :user:`Tim Head <betatim>`.

:mod:`sklearn.pipeline`
.......................

Expand Down