# Determine the optimal value of K - K-means clustering

I am trying to determine the optimal value of k. I have used a graph to plot the SSE against the values of k.

Using the elbow method, what would be the optimal value of k? I am unsure as to whether 7 or 8 would be most suitable because the line changes significantly at several points.

• As long as you increase k, the error will decreases as well. It stops when k=n. It is a trade-off between low error and low complexity. – aminrd Nov 21 '19 at 1:26