Distclassipy

Latest version: v0.2.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.1

- [fix: fixed bug for non integer target classes](https://github.com/sidchaini/DistClassiPy/commit/269bd2b86de8a088f2f7ffbefef70a646c883436)
- [docs: Improved readability](https://github.com/sidchaini/DistClassiPy/commit/eca39903622c6540ff1af4b90b3372b933ac27f1)
- **Full Changelog**: https://github.com/sidchaini/DistClassiPy/compare/v0.2.0...v0.2.1

0.2.0

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 https://github.com/sidchaini/DistClassiPy/pull/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**: https://github.com/sidchaini/DistClassiPy/compare/v0.1.5...v0.2.0

0.2.0a0

What's Changed
Two Big Feature Updates: changes in how metric is passed, and new distance metrics by sidchaini in - https://github.com/sidchaini/DistClassiPy/pull/16
- Feature: Distance metric is now passed during prediction instead of training
- Feature: Added 24 new distance metrics
- Tests: Added all new distances to the tests, and also changed the exactly equal check to approximately equal to account for differences in float calculations based on math.isclose()
- Other minor formatting changes

**Full Changelog**: https://github.com/sidchaini/DistClassiPy/compare/v0.1.6a0...v0.2.0a0

0.1.6a0

What's Changed
* Bump actions/setup-python from 4 to 5 by dependabot in https://github.com/sidchaini/DistClassiPy/pull/10
* Bump codecov/codecov-action from 4.3.1 to 4.4.1 by dependabot in https://github.com/sidchaini/DistClassiPy/pull/9
* Update numpy requirement from <2,>=1.25.2 to >=2.0.0,<3 by dependabot in https://github.com/sidchaini/DistClassiPy/pull/12
* Bump codecov/codecov-action from 4.4.1 to 4.5.0 by dependabot in https://github.com/sidchaini/DistClassiPy/pull/11
* Bump version to 0.1.6a0
* Removed some unused code DistanceMetricClassifier
* Added deprecated warnings for some functions that will be deprecated in 0.2.0 in the future.


**Full Changelog**: https://github.com/sidchaini/DistClassiPy/compare/v0.1.5...v0.1.6a0

0.1.5

What's Changed
* Improved unit tests for distance metrics and also added property-based testing via hypothesis.
* Commented out unused metrics that are in alpha - these will be added back after adding proper tests.
* Improved linting and formatting, and also added tests for these.
* Bump codecov/codecov-action from 4.1.1 to 4.3.1 by dependabot in https://github.com/sidchaini/DistClassiPy/pull/7
* Bump peaceiris/actions-gh-pages from 3 to 4 by dependabot in https://github.com/sidchaini/DistClassiPy/pull/8


**Full Changelog**: https://github.com/sidchaini/DistClassiPy/compare/v0.1.4...v0.1.5

0.1.4

Lowered the installation requirement versions to support Google Colab as of 18 April 2024.

**Full Changelog**: https://github.com/sidchaini/DistClassiPy/compare/v0.1.3...v0.1.4

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.