From 9c12fc418c0ade1a998c85ad03ffcba138ca5dbc Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Fri, 20 Dec 2024 17:00:33 +0100 Subject: [PATCH] DOC add entry in changelog --- doc/whats_new/0.13.rst | 24 +++++++++++++++++++----- imblearn/ensemble/_weight_boosting.py | 1 + 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/doc/whats_new/0.13.rst b/doc/whats_new/0.13.rst index 79cb6fe60..245139a02 100644 --- a/doc/whats_new/0.13.rst +++ b/doc/whats_new/0.13.rst @@ -1,9 +1,9 @@ .. _changes_0_13: -Version 0.13.0 (Under development) -================================== +Version 0.13.0 +============== -**TBD** +**December 20, 2024** Changelog --------- @@ -11,11 +11,25 @@ Changelog Bug fixes ......... +- Fix `get_metadata_routing` in :class:`~imblearn.pipeline.Pipeline` such that one + can use a sampler with metadata routing. + :pr:`1115` by :user:`Guillaume Lemaitre `. + Compatibility ............. +- Compatibility with scikit-learn 1.6 + :pr:`1109` by :user:`Guillaume Lemaitre `. + Deprecations ............ -Enhancements -............ +- :class:`~imblearn.pipeline.Pipeline` now uses + :func:`~sklearn.utils.check_is_fitted` instead of + :func:`~sklearn.utils.check_fitted` to check if the pipeline is fitted. In 0.15, it + will raise an error instead of a warning. + :pr:`1109` by :user:`Guillaume Lemaitre `. + +- `algorithm` parameter in :class:`~imblearn.ensemble.RUSBoostClassifier` is now + deprecated and will be removed in 0.14. + :pr:`1109` by :user:`Guillaume Lemaitre `. diff --git a/imblearn/ensemble/_weight_boosting.py b/imblearn/ensemble/_weight_boosting.py index df043eee7..177c6d872 100644 --- a/imblearn/ensemble/_weight_boosting.py +++ b/imblearn/ensemble/_weight_boosting.py @@ -396,6 +396,7 @@ def _boost_discrete(self, iboost, X, y, sample_weight, random_state): return sample_weight, estimator_weight, estimator_error + # TODO(0.14): remove this method because algorithm is deprecated. def _boost(self, iboost, X, y, sample_weight, random_state): if self.algorithm != "deprecated": warnings.warn(