Version 0.7.0¶
Changelog¶
Maintenance¶
Ensure that
imblearn.pipeline.Pipeline
is working whenmemory
is activated andjoblib==0.11
. #687 by Christos Aridas.Refactor common test to use the dev tools from
scikit-learn
0.23. #710 by Guillaume Lemaitre.Remove
FutureWarning
issued byscikit-learn
0.23. #710 by Guillaume Lemaitre.Impose keywords only argument as in
scikit-learn
. #721 by Guillaume Lemaitre.
Changed models¶
The following models might give some different results due to changes:
Bug fixes¶
Change the default value
min_samples_leaf
to be consistent with scikit-learn. #711 by zerolfx.Fix a bug due to change in
scikit-learn
0.23 inimblearn.metrics.make_index_balanced_accuracy
. The function was unusable. #710 by Guillaume Lemaitre.Raise a proper error message when only numerical or categorical features are given in
imblearn.over_sampling.SMOTENC
. #720 by Guillaume Lemaitre.Fix a bug when the median of the standard deviation is null in
imblearn.over_sampling.SMOTENC
. #675 by bganglia.
Enhancements¶
The classifier implemented in imbalanced-learn,
imblearn.ensemble.BalancedBaggingClassifier
,imblearn.ensemble.BalancedRandomForestClassifier
,imblearn.ensemble.EasyEnsembleClassifier
, andimblearn.ensemble.RUSBoostClassifier
, acceptsampling_strategy
with the same key than iny
without the need of encodingy
in advance. #718 by Guillaume Lemaitre.Lazy import
keras
module when importingimblearn.keras
#719 by Guillaume Lemaitre.
Deprecation¶
Deprecation of the parameters
n_jobs
inimblearn.under_sampling.ClusterCentroids
since it was used bysklearn.cluster.KMeans
which deprecated it. #710 by Guillaume Lemaitre.Deprecation of passing keyword argument by position similarly to
scikit-learn
. #721 by Guillaume lemaitre.