Hi @arvkevi,
Thank you for this cool library! 💯
I am experimenting with the following code:
from kneed import KneeLocator
import matplotlib.pyplot as plt
x = [0.90000, 0.99000, 0.99900, 0.99990, 0.99999]
y = [0.000019, 0.000046, 0.000050, 0.000050, 0.000050]
knee = KneeLocator(x, y, S=0.0, direction="increasing", curve="convex", online=True, interp_method="interp1d")
print(f"knee points: ({knee.knee}, {knee.knee_y})")
knee.plot_knee()
plt.show()
knee.plot_knee_normalized()
plt.show()
Output:
knee points: (0.99999, 5e-05)


I am not sure why the normalized knee plot is identifying the knee/elbow at 0 and I'm wondering why the knee point identified is at 0.99999? Shouldn't it be at 0.99?
Looking forward to your kind reply.
Hi @arvkevi,
Thank you for this cool library! 💯
I am experimenting with the following code:
Output:
knee points: (0.99999, 5e-05)I am not sure why the normalized knee plot is identifying the knee/elbow at 0 and I'm wondering why the knee point identified is at
0.99999? Shouldn't it be at0.99?Looking forward to your kind reply.