Save this video — free

UUtah Fall 2026 | Data Mining | L9 - k-Means and friends

UofU Data Science · 1:22:22 · Watch on YouTube

UUtah Fall 2026 | Data Mining | L9 - k-Means and friends Watch on YouTube →

Overview

The lecture formalizes assignment-based clustering through representative sites, then compares k-means, k-median, k-medoids, and k-center objectives. It explains Gonzalez’s 2-approximation for metric k-center and Lloyd’s algorithm for squared-Euclidean k-means, including its convergence to local optima and the k-means++ initialization method that improves the odds of finding a strong solution.

Key takeaways

Chapters

0:00 Course Updates: Homework, Project Data, and Campus Events
6:09 Assignment-Based Clustering Represents Clusters with Sites
10:00 Nearest-Site Assignments Create Voronoi Clusters
16:00 K-Means Minimizes Average Squared Euclidean Distance
21:50 K-Median and K-Medoids Change Robustness and Site Constraints
33:50 K-Center Minimizes the Worst Assignment Distance
35:00 Gonzalez’s Algorithm Greedily Selects Farthest Sites
44:05 Lloyd’s Algorithm Alternates Assignment and Mean Updates
49:10 Voronoi Boundaries and Centroid Updates Refine Assignments
53:30 The Mean Minimizes a Cluster’s Sum of Squared Errors
58:00 Lloyd’s Updates Decrease Cost but May Take Many Iterations
1:00:30 Lloyd’s Algorithm Can Converge to a Local Optimum
1:07:00 Random and Gonzalez Seeding Help but Do Not Eliminate Bad Starts
1:10:00 K-Means++ Uses Distance-Weighted Random Initialization
1:13:00 Why Squared-Distance Sampling Favors Uncovered Clusters
1:16:30 Weighted Sampling with Cumulative Sums and the Alias Method

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, UofU Data Science.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.