Skip to content

modAL 0.2.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@cosmic-cortex cosmic-cortex released this 18 Apr 08:45
· 354 commits to master since this release

Release notes

New features

  • modAL.utils.combination.make_query_strategy function factory to make the implementation of custom query strategies easier.
  • ActiveLearner and Committee models can be fitted using new data only by passing only_new=True to their .teach() methods. This is useful when working with models where the fitting does not occur from scratch, for instance tensorflow or keras models.

Fixes

  • Checks added to modAL.utils.selection.weighted_random() to avoid division with zero.
  • ABC metaclassing now compatible with earlier Python versions (i.e. Python 2.7). Fixes #3 .
  • sklearn.utils.check_array calls removed from modAL.models, performing checks now up to the estimator. As a consequence, images doesn't need to be flattened. Fixes #5 .
  • BaseCommittee now inherits from sklearn.base.BaseEstimator.
  • modAL.utils.combination.make_linear_combination rewritten using genexps, resulting in performance increase.