Save this video free

UUtah Data Mining | Fall 2026 | Choosing k (#clusters)

UofU Data Science · 1:21:28 · 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

Choosing the number of clusters has no universally correct answer: the best method depends on the data, distance measure, clustering objective, and desired level of detail. The lecture compares visual inspection, the elbow method, silhouette scores, and Bayesian Information Criterion (BIC), emphasizing that plots and automated scores need human judgment and that some data may not have meaningful clusters at all.

Key takeaways

Chapters

0:00 Course Logistics: Clustering Assignment, Streaming Data, and the Midterm
3:04 Data Collection Reports: Representing Data and Planning Simulations
8:58 Synthetic Data as a Baseline, Not a Substitute for Real Data
13:39 Midterm Format and How to Practice for It
21:00 Four Approaches to Choosing the Number of Clusters
25:29 Visual Inspection: Four Separated Blobs Make K = 4 Clear
27:14 Projecting High-Dimensional Data for Cluster Inspection
30:05 The “Smear” Problem: When Data May Not Be Clusterable
36:58 Elbow Method: Compare Clustering Cost Across Values of K
41:43 Reading the Elbow: Diminishing Returns and Human Judgment
50:25 Silhouette Score: A Mean-Based Measure with Assumptions
53:01 Silhouette Formula: Within-Cluster and Replacement Distances
1:00:33 Silhouette Example: Why K = 3 Can Beat K = 2 or K = 4
1:08:15 Multiple Valid Scales: K = 3 and K = 11 Can Both Be Useful
1:14:43 BIC: Trade Off Likelihood Fit Against Model Complexity
1:21:07 Choosing K Is a Judgment Call, Not a Universal Rule

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

Transcript excerpt

0:14 Uh uh um SC everyone uh welcome back. Let's get started. Um oh probably I'm seeing everything but you're not. Let me plug plug this in. Um yeah, so today we're going to finish the part of the class on clustering and we're going to be kind of talking about how to choose this mysterious parameter K, the number of clusters. Uh, so this was um this something that feels like there's there's like there's no great way to do it, but I want to give you kind of the best possible options. Uh, each involves lots of caveats, right? So, um, there's not

1:04 always a good option, but it's a question you will have and you'll have have to deal with nether. Um uh nevertheless, so I um um so I'll try and give you the best advice possible on this. Um great. Before we get into the lecture, there are been definitely a few questions about other stuff going on in the class. Um where are we? We're I guess finishing the clust the clustering section on uh here today starting the next two lectures we'll talk about a new topic streaming this is when data is flying past and is is coming in as too large to store um what sort of analysis

1:52 can you still do so we'll start this oh on Thursday and there'll be one more lecture after fall break um all right there there have and two types of questions I was I was uh I was getting at the start of class. The the ones I haven't gotten on are on the uh um assignment three on clustering. So u um um um so I hope this is going well. Um you probably can do most of it already. the hierarchal clustering, assignment

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.