Version 0.3#

Changelog#

Testing#

Documentation#

Bug fixes#

  • Fixed a bug in utils.check_ratio such that an error is raised when the number of samples required is negative. #312 by Guillaume Lemaitre.

  • Fixed a bug in under_sampling.NearMiss version 3. The indices returned were wrong. #312 by Guillaume Lemaitre.

  • Fixed bug for ensemble.BalanceCascade and combine.SMOTEENN and SMOTETomek. #295 by Guillaume Lemaitre.

  • Fixed bug for check_ratio to be able to pass arguments when ratio is a callable. #307 by Guillaume Lemaitre.

New features#

  • Turn off steps in pipeline.Pipeline using the None object. By Christos Aridas.

  • Add a fetching function datasets.fetch_datasets in order to get some imbalanced datasets useful for benchmarking. #249 by Guillaume Lemaitre.

Enhancement#

API changes summary#

  • __init__ has been removed from the base.SamplerMixin to create a real mixin class. #242 by Guillaume Lemaitre.

  • creation of a module exceptions to handle consistant raising of errors. #242 by Guillaume Lemaitre.

  • creation of a module utils.validation to make checking of recurrent patterns. #242 by Guillaume Lemaitre.

  • move the under-sampling methods in prototype_selection and prototype_generation submodule to make a clearer dinstinction. #277 by Guillaume Lemaitre.

  • change ratio such that it can adapt to multiple class problems. #290 by Guillaume Lemaitre.

Deprecation#