In K-Means, nobody hands you the number of groups ahead of time. Before the algorithm can even start, you have to decide: how many clusters should there be? That number is K, and choosing it is trickier than it sounds.