You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <param name="x">x: X axis values of the points. Points must be sorted in ascending order w.r.t. X axis.</param>
41
+
* <param name="y">y: Y axis values of the points.</param>
42
+
* <param name="direction">direction: If the curve is increasing or decreasing. Make sure to set this value according to the input curve.</param>
43
+
* <param name="concavity">concavity: Whether the curve has positive or negative curvature. In other words, concave or convex. Whether the tangent rotates clockwise or counterclockwise. Make sure to set this value according to the input curve.</param>
44
+
* <param name="sensitivity">sensitivity: Adjusts the knee detection threshold. Defaults to 1 as per the paper.</param>
45
+
* <param name="forceLinearInterpolation">forceLinearInterpolation: Interpolation is done using robust cubic splines. For some inputs, spline can overshoot. This param forces linear interpolation instead of cubic spline.</param>
46
+
* </list>
47
+
*
35
48
* Can return null when the algorithm fails to identify a knee/elbow for various reasons:
36
49
* - the number of data points is too small
37
50
* - there are no local maxima on the diffs, which means either the curve is a line, or the
38
51
* parameters provided are incompatible with the curve
39
-
*
52
+
*
53
+
* <list type="bullet">
54
+
* 2019-01-08: rename curvature enum to be easy to interpret and remember (Prashant Borole)
0 commit comments