Version 0.3#
February 22, 2018
Changelog#
Testing#
Pytest is used instead of nosetests. #321 by Joan Massich.
Documentation#
Added a User Guide and extended some examples. #295 by Guillaume Lemaitre.
Bug fixes#
Fixed a bug in
utils.check_ratiosuch that an error is raised when the number of samples required is negative. #312 by Guillaume Lemaitre.Fixed a bug in
under_sampling.NearMissversion 3. The indices returned were wrong. #312 by Guillaume Lemaitre.Fixed bug for
ensemble.BalanceCascadeandcombine.SMOTEENNandSMOTETomek. #295 by Guillaume Lemaitre.Fixed bug for
check_ratioto be able to pass arguments whenratiois a callable. #307 by Guillaume Lemaitre.
New features#
Turn off steps in
pipeline.Pipelineusing theNoneobject. By Christos Aridas.Add a fetching function
datasets.fetch_datasetsin order to get some imbalanced datasets useful for benchmarking. #249 by Guillaume Lemaitre.
Enhancement#
All samplers accepts sparse matrices with defaulting on CSR type. #316 by Guillaume Lemaitre.
datasets.make_imbalancetake a ratio similarly to other samplers. It supports multiclass. #312 by Guillaume Lemaitre.All the unit tests have been factorized and a
utils.check_estimatorshas been derived from scikit-learn. By Guillaume Lemaitre.Script for automatic build of conda packages and uploading. #242 by Guillaume Lemaitre
Remove seaborn dependence and improve the examples. #264 by Guillaume Lemaitre.
adapt all classes to multi-class resampling. #290 by Guillaume Lemaitre
API changes summary#
__init__has been removed from thebase.SamplerMixinto create a real mixin class. #242 by Guillaume Lemaitre.creation of a module
exceptionsto handle consistant raising of errors. #242 by Guillaume Lemaitre.creation of a module
utils.validationto make checking of recurrent patterns. #242 by Guillaume Lemaitre.move the under-sampling methods in
prototype_selectionandprototype_generationsubmodule to make a clearer dinstinction. #277 by Guillaume Lemaitre.change
ratiosuch that it can adapt to multiple class problems. #290 by Guillaume Lemaitre.
Deprecation#
Deprecation of the use of
min_c_indatasets.make_imbalance. #312 by Guillaume LemaitreDeprecation of the use of float in
datasets.make_imbalancefor the ratio parameter. #290 by Guillaume Lemaitre.deprecate the use of float as ratio in favor of dictionary, string, or callable. #290 by Guillaume Lemaitre.