Description

Purpose of the Lesson

This lesson explains K-Means before introducing an application. A small email-grouping example demonstrates each mathematical step: selecting features, representing emails as numbers, choosing K, calculating distances, assigning clusters, updating centroids, repeating the procedure, checking convergence, and assigning a new email.

Learning Outcomes

  • Explain K-Means in ordinary language.
  • Identify observations, numerical features, clusters, centroids, and K.
  • Compute Euclidean and squared Euclidean distances for email vectors with two features.
  • Update centroids using arithmetic means and recognize when the process converges.
  • Explain the difference between a discovered cluster and a department name suggested by a person.
  • Calculate clustering error (inertia) and recognize practical limitations.