Skip to content

Releases: arvkevi/kneed

v0.8.6

20 Mar 21:01

Choose a tag to compare

What's Changed

New Contributors

  • @Copilot made their first contribution in #166

Full Changelog: v0.8.5...v0.8.6

Remove more warnings

09 Jul 01:50
01c2aab

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

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

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

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

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

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

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

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

Choose a tag to compare

same source code as v0.5.2