Save this video free

UUtah Data Mining | Fall 2026 | L8: Hierarchical Agglomerative Clustering

UofU Data Science · 1:19:07 · Watch on YouTube

Part of University of Utah CS 5140/6140 Data Mining. See all 21 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Clustering groups data points according to a chosen distance or similarity, but what counts as a good grouping depends on the structure being sought: compact blobs, separated groups, or connected shapes. The lecture develops hierarchical agglomerative clustering (HAC) and its single-link, complete-link, average-link, and variance-based choices, then introduces DBSCAN and kernel-density thresholding as ways to find density-connected regions and mark outliers.

Key takeaways

Chapters

0:00 Clustering Unit: Distances, Algorithms, and Model Choices
4:04 Clustering Inputs and the Hard-Partition Output
7:12 Visual Inspection: Plot the Points and Draw the Clusters
17:24 Cluster Quality: Within-Group Width and Between-Group Split
24:10 HAC Algorithm: Repeatedly Merge the Closest Clusters
30:03 Cluster Distance Options: Representatives and Pairwise Comparisons
35:08 Single, Average, Variance, and Complete Linkage
42:44 Two Moons: Single Linkage Preserves Connected Shapes
48:36 Clustering Evaluation Depends on the Desired Structure
51:00 HAC Builds a Hierarchy Before Choosing the Cluster Count
55:49 HAC Runtime: Naive Cubic Cost and Faster Variants
1:02:03 DBSCAN Parameters: Epsilon Radius and Minimum Points
1:07:09 DBSCAN Clusters: Core-Point Graphs and Outliers
1:11:58 Gaussian KDE Clustering: Threshold Density Regions
1:14:00 Choosing a Clustering Formulation for the Data

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

Transcript excerpt

0:17 Okay. So, let's get started. So, welcome back everyone. Um, so today we are switching into the second uh so phase of the class. We're going to be talking about clustering for the next four lectures. Um, so as you'll see this will build on top of the notion of distances. So now that we've we have kind of thinking about distances and similarities, then we'll be able to kind of plug these in somewhat abstractly into some of the algorithms. Some of the algorithms formulations we'll talk about will need specific um or or restricted notions of distances. Um okay. So um if if you look at the schedule, we're

1:08 going to spend four lectures on this. The first lecture will cover this version of clustering called hierarchical elomerative clustering. Um it's probably not the most famous and useful approach, but it's kind of a very broad and general and we'll see some of the kind of um broad modeling that that we can do as part of clustering. Um it'll also allow us to talk about kind of the general formulation in kind of the uh um the general unspecificity that that saying I'm trying to find clusters actually means. Um so after that we'll talk about two of the

1:58 more common approaches to clustering. Probably the single most common approach would be kind of the case formulation. So we'll talk about kines and friends uh to that in the second lecture and then we'll talk about spectral clustering which will model things as kind of like a graph or you can use like more generally plugins so similarities instead of distances that will make sense for spectral and the last lecture we'll talk about choosing K will stand for the number of clusters right and so we'll leave this ambiguous we'll just

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

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.