Elbow Curve

In [110]:
from verticapy.learn.model_selection import elbow
elbow(input_relation = "public.iris",
      X = ["PetalLengthCm", "PetalWidthCm"])
Out[110]:
Within-Cluster SS
10.0
20.8430854905080415
30.9429226137921877
40.9632152361672428
50.9660497381363662
60.9759101837709979
70.9803440509337196
80.9821865680165062
90.9842828972438374
100.9879195334868859
110.9892752382952984
120.991282035906101
130.9912947301454424
140.992589669682272
Rows: 1-14 | Columns: 2