Skip to content

Releases: arvkevi/kneed

Remove more warnings

09 Jul 01:50
01c2aab
Compare
Choose a tag to compare

What's Changed

  • Remove all warnings when no knees are found by @arvkevi in #156

Full Changelog: v0.8.4...v0.8.5

Remove warning on no knee and update documentation

09 Jul 01:20
0d53111
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.3...v0.8.4

Fix IndexError and remove Manifest.ini

28 Apr 02:00
cff906a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.2...v0.8.3

Migrate to Hatch

09 Jan 01:31
13b9c17
Compare
Choose a tag to compare

@ofek This was a breeze. Thanks for the great work on Hatch!

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.8.2

Bugfix: Fix reading VERSION

30 Jul 19:53
f65f4b1
Compare
Choose a tag to compare

This fixes the kneed/__init__.py issue reading the VERSION file.

Make matplotlib an optional dependency

30 Jul 17:31
b6a6fa7
Compare
Choose a tag to compare

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.

Documentation!

13 Aug 00:53
a69d563
Compare
Choose a tag to compare

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!!!

output y

05 Mar 14:10
34032ae
Compare
Choose a tag to compare
  • add support for accessing the y value of the knee point.

Thank you to @tommilligan for identifying and fixing the bug.

type hints

13 Feb 00:49
76652ce
Compare
Choose a tag to compare

same source code as v0.5.2

type hints

12 Feb 22:17
15bd995
Compare
Choose a tag to compare

*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.