Comments (1)
Hi @DoNoRe, thanks for checking out the repo. Some curves have ambiguous knee points, similar to the one from your post.
Visualizing the difference curve helps me understand why the algorithm chose the point that it did. The knee point will always be selected from a local maximum in the difference curve. In the image below I changed S=10.0
in your example data and it moves the knee much earlier.
It can be difficult to have the algorithm identify a "predetermined" knee point. I'd recommend tweaking a couple of parameters to try to get the knee point that you desire. Specifically interp_method
, online
, and S
. You might have success fitting a line to your data, and then sending it through kneed
.
from kneed.
Related Issues (20)
- IndexError: Line 271 HOT 1
- make matplotlib an extra dependency HOT 1
- can not detect knee/elbow point in python 3.9 HOT 2
- Documentation states default for online is True, but it is really False HOT 1
- How to use it with Multivariate X, Throwing interpolation axis Error HOT 1
- Ability to change title, and set xlabel and ylabel for visualization function HOT 3
- Issues about the online correction HOT 1
- GH Actions bug HOT 1
- Remove unnecessary warning HOT 2
- Add readthedocs.yaml file
- Remove travis badge from README HOT 1
- Update pythonpublish workflow
- Knee point changes depending on input length
- missing comma HOT 1
- Problem with curves with multiple slopes HOT 3
- Unable to detect knee and elbow HOT 1
- Request: Documentation
- Implementation Detail HOT 1
- TypeError: transform_y() takes 3 positional arguments but 4 were given HOT 1
- y_transform doesn't work with unevenly spaced x values HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kneed.