Skip to content

v.0.2.0

Compare
Choose a tag to compare
@sidchaini sidchaini released this 21 Oct 22:43
· 3 commits to main since this release

What's Changed

Three big feature updates since last stable version:

  1. The metric is now passed to DistanceMetricClassifier during the prediction.
  2. Added new in-built distance metrics in #16 - now a total of 43 distance metrics are built into DistClassiPy. Additionally, users can still define and use custom distance metrics as needed.
  3. Added a new classifier, the EnsembleDistanceClassifier, which takes in a feature to partition data into quantiles, and then prepares an ensemble of DistanceMetricClassifiers for each quantile based on the best distance metric for that quantile.

Other minor updates include:

  • Added tests for all new distances
  • DistanceMetricClassifier now supports changing metrics when using the score() method
  • Added clips to make sure input for log and sqrt is appropriate.
  • Improved docs
  • Other minor formatting changes
    Full Changelog: v0.1.5...v0.2.0