Changelog
========
Bug fixes
---------
- Make sure that Substitution is working with `python -OO` that replaces __doc__ by None. [953](https://github.com/scikit-learn-contrib/imbalanced-learn/pull/953) bu [Guillaume Lemaitre](https://github.com/glemaitre).
Compatibility
-------------
- Maintenance release for being compatible with scikit-learn >= 1.0.2. [946](https://github.com/scikit-learn-contrib/imbalanced-learn/pull/946), [#947](https://github.com/scikit-learn-contrib/imbalanced-learn/pull/947), [#949](https://github.com/scikit-learn-contrib/imbalanced-learn/pull/949) by [Guillaume Lemaitre](https://github.com/glemaitre).
- Add support for automatic parameters validation as in scikit-learn >= 1.2. [955](https://github.com/scikit-learn-contrib/imbalanced-learn/pull/955) by [Guillaume Lemaitre](https://github.com/glemaitre).
- Add support for `feature_names_in_` as well as `get_feature_names_out` for all samplers. [959](https://github.com/scikit-learn-contrib/imbalanced-learn/pull/959) by [Guillaume Lemaitre](https://github.com/glemaitre).
Deprecation
------------
- The parameter `n_jobs` has been deprecated from the classes [ADASYN](https://imbalanced-learn.org/dev/references/generated/imblearn.over_sampling.ADASYN.html#imblearn.over_sampling.ADASYN), [BorderlineSMOTE](https://imbalanced-learn.org/dev/references/generated/imblearn.over_sampling.BorderlineSMOTE.html#imblearn.over_sampling.BorderlineSMOTE), [SMOTE](https://imbalanced-learn.org/dev/references/generated/imblearn.over_sampling.SMOTE.html#imblearn.over_sampling.SMOTE), [SMOTENC](https://imbalanced-learn.org/dev/references/generated/imblearn.over_sampling.SMOTENC.html#imblearn.over_sampling.SMOTENC), [SMOTEN](https://imbalanced-learn.org/dev/references/generated/imblearn.over_sampling.SMOTEN.html#imblearn.over_sampling.SMOTEN), and [SVMSMOTE](https://imbalanced-learn.org/dev/references/generated/imblearn.over_sampling.SVMSMOTE.html#imblearn.over_sampling.SVMSMOTE). Instead, pass a nearest neighbors estimator where n_jobs is set. [887](https://github.com/scikit-learn-contrib/imbalanced-learn/pull/887) by [Guillaume Lemaitre](https://github.com/glemaitre).
- The parameter `base_estimator` is deprecated and will be removed in version 0.12. It is impacted the following classes: [BalancedBaggingClassifier](https://imbalanced-learn.org/dev/references/generated/imblearn.ensemble.BalancedBaggingClassifier.html#imblearn.ensemble.BalancedBaggingClassifier), [EasyEnsembleClassifier](https://imbalanced-learn.org/dev/references/generated/imblearn.ensemble.EasyEnsembleClassifier.html#imblearn.ensemble.EasyEnsembleClassifier), [RUSBoostClassifier](https://imbalanced-learn.org/dev/references/generated/imblearn.ensemble.RUSBoostClassifier.html#imblearn.ensemble.RUSBoostClassifier). [946](https://github.com/scikit-learn-contrib/imbalanced-learn/pull/946) by [Guillaume Lemaitre](https://github.com/glemaitre).
Enhancements
---------------
- Add support to accept compatible NearestNeighbors objects by only duck-typing. For instance, it allows to accept cuML instances. [858](https://github.com/scikit-learn-contrib/imbalanced-learn/pull/858) by [NV-jpt](https://github.com/NV-jpt) and [Guillaume Lemaitre](https://github.com/glemaitre).