Elbow method using k-means

Hi! I need to draw the results of Elbow method for my k-means clustering. Is there a node for drawing the results of Elbow method or do i have to proceed in another way?

My workflow:

As far as Iā€™m aware there is no single node that will do this for you.

You are going to need to create a loop that will

  1. carry out the k-means clustering with various numbers of clusters
  2. calculate the average distance between points in a cluster and the cluster center

Once outside the loop, you can plot the number of clusters vs the distance measurement.

2 Likes

You can see an elbow method example (basically what @elsamuel is describing) in part of this workflow:

Maybe it will help you.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.