Data Science MasterClass (July) | 2 seats left

[Microsoft] Finding Optimal K in K-Means

[Microsoft] Finding Optimal K in K-Means

Last Updated: April 2024

Problem

How do you find the optimal K in K-Means clustering?


Solution

The two common methods in K-Means are the Elbow and Silhouette Methods.

1. The Elbow Method – You plot the explained variance (or within-cluster sum of squares) as a func...

Unlock the full lesson

Created by interviewers from Google and Meta. Master every concept you need to land your dream role.

All courses — Data, ML/AI & Quant
Unlimited coding submissions
Hands-on projects with real datasets
Detailed solutions in text & video
Monthly content updates
Join Premium