Posted on:

11 Jul 2024

1

What does Kmeans.fit(x) do?

If I comment the line where Kmeans.fit(x)  appears, the code produces the same output as if I did not. It seems that the clustering is performed by Kmeans.fit_predict(x). What am I missing? Thank you!

0 answers ( 0 marked as helpful)

Submit an answer