Change parameters and inspect the actual computation behind k-means clustering.
22.848Within-cluster sum of squares
4Iterations
Data and initialization are fixed. Assign to the nearest center, then update means; empty clusters keep their previous center. Lower inertia with more clusters does not establish better categories.
Use this experiment to test your understanding
Predict the effect of changing a parameter before inspecting the output. Identify the responsible term in the formula and explain how the teaching model differs from a real application.