From 887d8db9c451363346e5bf6c015664065390a4df Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Sat, 23 Oct 2021 12:12:21 +0200 Subject: [PATCH] MNT fix changelog 1.0.1 --- doc/whats_new/v1.0.rst | 31 ++++++++++++++++++++++++++++++- doc/whats_new/v1.1.rst | 35 ----------------------------------- 2 files changed, 30 insertions(+), 36 deletions(-) diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index c27565bc3968d..ac82b42303080 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -7,7 +7,7 @@ Version 1.0.1 ============= -**In Development** +**October 2021** Changelog --------- @@ -43,6 +43,14 @@ Fixed models between sparse and dense input. :pr:`21195` by :user:`Jérémie du Boisberranger `. +:mod:`sklearn.ensemble` +....................... + +- |Fix| Fixed a bug that could produce a segfault in rare cases for + :class:`ensemble.HistGradientBoostingClassifier` and + :class:`ensemble.HistGradientBoostingRegressor`. + :pr:`21130` :user:`Christian Lorentzen `. + :mod:`sklearn.gaussian_process` ............................... @@ -59,12 +67,21 @@ Fixed models longer checks for uppercase characters in the provided vocabulary. :pr:`21251` by :user:`Jérémie du Boisberranger `. +- |Fix| Fixed a bug in :class:`feature_extraction.CountVectorizer` and + :class:`feature_extraction.TfidfVectorizer` by raising an + error when 'min_idf' or 'max_idf' are floating-point numbers greater than 1. + :pr:`20752` by :user:`Alek Lefebvre `. + :mod:`sklearn.linear_model` ........................... - |Fix| Improves stability of :class:`linear_model.LassoLars` for different versions of openblas. :pr:`21340` by `Thomas Fan`_. +- |Fix| :class:`linear_model.LogisticRegression` now raises a better error + message when the solver does not support sparse matrices with int64 indices. + :pr:`21093` by `Tom Dupre la Tour`_. + :mod:`sklearn.neighbors` ........................ @@ -95,6 +112,18 @@ Fixed models :mod:`sklearn.utils` .................... +- |Enhancement| :func:`utils.validation._check_sample_weight` can perform a + non-negativity check on the sample weights. It can be turned on + using the only_non_negative bool parameter. + Estimators that check for non-negative weights are updated: + :func:`linear_model.LinearRegression` (here the previous + error message was misleading), + :func:`ensemble.AdaBoostClassifier`, + :func:`ensemble.AdaBoostRegressor`, + :func:`neighbors.KernelDensity`. + :pr:`20880` by :user:`Guillaume Lemaitre ` + and :user:`András Simon `. + - |Fix| Solve a bug in :func:`~sklearn.utils.metaestimators.if_delegate_has_method` where the underlying check for an attribute did not work with NumPy arrays. :pr:`21145` by :user:`Zahlii `. diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 2bd0246efad15..e6e309cd5fac4 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -52,22 +52,6 @@ Changelog reconstruction of a `X` target when a `Y` parameter is given. :pr:`19680` by :user:`Robin Thibaut `. -:mod:`sklearn.ensemble` -....................... - -- |Fix| Fixed a bug that could produce a segfault in rare cases for - :class:`ensemble.HistGradientBoostingClassifier` and - :class:`ensemble.HistGradientBoostingRegressor`. - :pr:`21130` :user:`Christian Lorentzen `. - -:mod:`sklearn.feature_extraction` -................................. - -- |Fix| Fixed a bug in :class:`feature_extraction.CountVectorizer` and - :class:`feature_extraction.TfidfVectorizer` by raising an - error when 'min_idf' or 'max_idf' are floating-point numbers greater than 1. - :pr:`20752` by :user:`Alek Lefebvre `. - :mod:`sklearn.impute` ..................... @@ -75,13 +59,6 @@ Changelog :class:`impute.KNNImputer`, :class:`impute.IterativeImputer`, and :class:`impute.MissingIndicator`. :pr:`21078` by `Thomas Fan`_. -:mod:`sklearn.linear_model` -........................... - -- |Fix| :class:`linear_model.LogisticRegression` now raises a better error - message when the solver does not support sparse matrices with int64 indices. - :pr:`21093` by `Tom Dupre la Tour`_. - :mod:`sklearn.metrics` ...................... @@ -108,18 +85,6 @@ Changelog :mod:`sklearn.utils` .................... -- |Enhancement| :func:`utils.validation._check_sample_weight` can perform a - non-negativity check on the sample weights. It can be turned on - using the only_non_negative bool parameter. - Estimators that check for non-negative weights are updated: - :func:`linear_model.LinearRegression` (here the previous - error message was misleading), - :func:`ensemble.AdaBoostClassifier`, - :func:`ensemble.AdaBoostRegressor`, - :func:`neighbors.KernelDensity`. - :pr:`20880` by :user:`Guillaume Lemaitre ` - and :user:`András Simon `. - - |Enhancement| :func:`utils.estimator_html_repr` shows a more helpful error message when running in a jupyter notebook that is not trusted. :pr:`21316` by `Thomas Fan`_.