Kneed

Latest version: v0.8.5

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

Scan your dependencies

Page 2 of 5

0.7.0

This release has various improvements, including:

* added codecov for calculating code coverage
* use pytest-cov
* increased test coverage to 100%
* warn on flat curve
* kneed now validates arguments for `curve` and `direction`
* refactored the algorithm
* remove scikit-learn dependency and switch to numpy polyfit.
* documentation!!!

0.6.0

* add support for accessing the `y` value of the knee point.

Thank you to tommilligan for identifying and fixing the bug.

0.5.3

0.5.2

*Added the optional `figsize` argument to plotting functions, thanks gperakis
*Added type hints (also thanks for the nudge gperakis)
*Expose the `y` value at the `knee`.

0.5.1

53 fixes a bug where maxima in the difference curve were not detected if they were flat.

0.5.0

* Adds support for `online` and `offline` knee point detection.
* General refactoring and improvements to the algorithm.
* Fixes a persistent typo in a variable name.
* Remove artificial minima and maxima.
* Appropriately reference the difference curve (I was incorrectly using the "distance" curve).

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.