Knee point detection in Python :chart_with_upwards_trend:
Full Changelog: https://github.com/arvkevi/kneed/compare/v0.8.4...v0.8.5
Full Changelog: https://github.com/arvkevi/kneed/compare/v0.8.3...v0.8.4
Full Changelog: https://github.com/arvkevi/kneed/compare/v0.8.2...v0.8.3
@ofek This was a breeze. Thanks for the great work on Hatch!
Full Changelog: https://github.com/arvkevi/kneed/compare/v0.8.1...v0.8.2
This fixes the kneed/__init__.py
issue reading the VERSION file.
The most relevant change in this release is that matplotlib is now an optional dependency. Two convenience plotting functions in the KneeLocator
class use matplotlib. After 0.8.0, users will need to install using the following command to get plotting functionality: pip install kneed[plot]
.
Thanks for contributing this feature @samhanic!
Additional functionality was added by @zhongminhu to detect the shape of the curve. This is helpful if you need to know which values to use for the direction
and curve
arguments of the KneeLocator
class.
from kneed.shape_detector import find_shape
direction, curve = find_shape(x, y)
Other changes include quality of life improvements for maintaining the package that should not affect the user.
This release has various improvements, including:
curve
and direction
y
value of the knee point.Thank you to @tommilligan for identifying and fixing the bug.
same source code as v0.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
.