kneed-rs
This is a pure rust implementation of Knee-point detection.
The code here aims to be a 1:1 match of kneed.
Usage
General usage:
// Provide your x: Vec<f64> and y: Vec<f64>
let x = ;
let y = ;
let params = new;
let kl = new;
// You can then call:
// kl.elbow()
// kl.elbow_y()
Example from the paper:
let = figure2;
let params = new;
let kneedle = new;
assert_relative_eq!;
assert_relative_eq!;
Credits
All credit for the python implementation goes to Kevin Arvai.