Version 0.12.4#
October 4, 2024
Changelog#
Compatibility#
Compatibility with NumPy 2.0+ #1097 by Guillaume Lemaitre.
Version 0.12.3#
May 28, 2024
Changelog#
Compatibility#
Compatibility with scikit-learn 1.5 #1074 and #1084 by Guillaume Lemaitre.
Version 0.12.2#
March 31, 2024
Changelog#
Bug fixes#
Fix the way we check for a specific Python version in the test suite. #1075 by Guillaume Lemaitre.
Version 0.12.1#
March 31, 2024
Changelog#
Bug fixes#
Fix a bug in
InstanceHardnessThresholdwhereestimatorcould not be aPipelineobject. #1049 by Gonenc Mogol.
Compatibility#
Do not use
distutilsin tests due to deprecation. #1065 by Michael R. Crusoe.Fix the scikit-learn import in tests to be compatible with version 1.4.1.post1. #1073 by Guillaume Lemaitre.
Fix test to be compatible with Python 3.13. #1073 by Guillaume Lemaitre.
Version 0.12.0#
January 24, 2024
Changelog#
Bug fixes#
Fix a bug in
SMOTENCwhere the entries of the one-hot encoding should be divided bysqrt(2)and not2, taking into account that they are plugged into an Euclidean distance computation. #1014 by Guillaume Lemaitre.Raise an informative error message when all support vectors are tagged as noise in
SVMSMOTE. #1016 by Guillaume Lemaitre.Fix a bug in
SMOTENCwhere the median of standard deviation of the continuous features was only computed on the minority class. Now, we are computing this statistic for each class that is up-sampled. #1015 by Guillaume Lemaitre.Fix a bug in
SMOTENCsuch that the case where the median of standard deviation of the continuous features is null is handled in the multiclass case as well. #1015 by Guillaume Lemaitre.Fix a bug in
BorderlineSMOTEversion 2 where samples should be generated from the whole dataset and not only from the minority class. #1023 by Guillaume Lemaitre.Fix a bug in
NeighbourhoodCleaningRulewhere thekind_sel="all"was not working as explained in the literature. #1012 by Guillaume Lemaitre.Fix a bug in
NeighbourhoodCleaningRulewhere thethreshold_cleaningratio was multiplied on the total number of samples instead of the number of samples in the minority class. #1012 by Guillaume Lemaitre.Fix a bug in
RandomUnderSamplerandRandomOverSamplerwhere a column containing only NaT was not handled correctly. #1059 by Guillaume Lemaitre.
Compatibility#
BalancedRandomForestClassifiernow support missing values and monotonic constraints if scikit-learn >= 1.4 is installed.Pipelinesupport metadata routing if scikit-learn >= 1.4 is installed.Compatibility with scikit-learn 1.4. #1058 by Guillaume Lemaitre.
Deprecations#
Deprecate
estimator_argument in favor ofestimators_for the classesCondensedNearestNeighbourandOneSidedSelection.estimator_will be removed in 0.14. #1011 by Guillaume Lemaitre.Deprecate
kind_selin:pr:`1012by Guillaume Lemaitre.