Lecture L18: Clustering and Description Length Minimization

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/29

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:29 PM on 6/29/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

30 Terms

1
New cards
What is the mathematical formalization of "how different" two observations are in cluster detection?
The dissimilarity metric δ(xi,xj)\delta(x_i,x_j).
2
New cards
What is a common choice for the dissimilarity metric in Euclidean feature spaces?
The Euclidean distance.
3
New cards
What is the primary goal of the clustering problem given kk clusters?
To map data points to clusters such that pairs of points within the same cluster are more similar to each other than to points in different clusters.
4
New cards

What defines a non-overlapping/hard clustering?

Each point belongs to exactly one cluster, meaning CiCj=C_i \cap C_j = \emptysetfori,j{1,...,k}i,j \in \{1,...,k\}.
5
New cards

What defines an overlapping/fuzzy/soft clustering?

A point may belong to multiple clusters with varying degrees, meaning CiCjC_i \cap C_j \ne \emptysetfori,j{1,...,k}i,j \in \{1,...,k\}.
6
New cards
Name three important applications of cluster analysis.
Exploratory data analysis, recommender systems, and image segmentation.
7
New cards
Why do practical algorithms for finding an optimal clustering use heuristics instead of exhaustive search?
Because finding an optimal clustering based on metrics like Euclidean distance is an NP-hard optimization problem.
8
New cards
What happens to the loss LLas the number of clusterskkincreases in k-means?
The lossLLis a monotone decreasing function ofkk, meaning it always favors larger kk.
9
New cards
What is the value of the loss LLwhenk=nk=n in k-means clustering?
L=0L=0.
10
New cards
Why can't we use cross-validation to determine the optimal number of clusters?
Because cluster detection is an unsupervised learning problem and lacks ground-truth labels to validate against.
11
New cards
What two factors must be balanced when selecting the optimal number of clusters?
Explanatory power (low loss) against model complexity (number of clusters).
12
New cards
What is the model selection problem in the context of scientific theories?
Multiple different theories or models can be consistent with a given phenomenon, such as the heliocentric and geocentric models reproducing planetary positions.
13
New cards
What is the principle of parsimony?
It is the idea that we should balance fit and complexity because simpler models generalize better to new observations.
14
New cards
Why is the minimum loss criterion alone insufficient for model selection?
Because it will always favor the most complex model.
15
New cards
How can a model be explicitly discouraged from becoming too complex?
By explicitly penalizing model complexity.
16
New cards
What assumption is made about the partition of observations DD in centroid-based clustering?
It is assumed that observations are partitioned into kk non-overlapping clusters CjDC_j \subseteq D.
17
New cards
How is the centroid of a cluster defined in centroid-based clustering?
The centroid cj\overline{c}_j is defined as the mean coordinate or position of all observations in that cluster.
18
New cards
To which cluster is a new observation naturally assigned in centroid-based clustering?
To the cluster with the closest centroid, meaning it falls within the Voronoi region of that centroid.
19
New cards
What is the mathematical formula for the loss function LL that a good centroid-based clustering aims to minimize?
L=1nj=1kxiCjδ(xi,cj)L = \frac{1}{n} \sum_{j=1}^{k} \sum_{x_i \in C_j} \delta(x_i, \overline{c}_j).
20
New cards
What does the loss function LL measure in centroid-based clustering?
It measures the average distance of points from their respective cluster centers.
21
New cards
What does the function δ(x,y)\delta(x, y) typically represent in the centroid-based clustering loss function?
The Euclidean distance between xx and yy.
22
New cards
What motivates the use of an iterative algorithm for centroid-based clustering?
The fact that centroids change when points are reassigned, requiring alternating steps of reassigning points and recomputing centroids until they converge.
23
New cards
Who are the two scientists credited with the initial idea and the formalization of the k-means clustering algorithm?
Hugo Steinhaus in 1956 and James MacQueen in 1967.
24
New cards
What is the primary objective of Lloyd's algorithm for k-means clustering?
To iteratively assign every point to the cluster with the closest centroid and then recompute centroids as the mean of the assigned points.
25
New cards
Why is convergence guaranteed in Lloyd's algorithm?
Each iteration reduces or maintains the loss function, as point reassignment lowers loss given current centroids, and recomputation lowers loss given current assignments.
26
New cards
Does Lloyd's algorithm guarantee a global optimum?
No, it can converge to a local minimum.
27
New cards
Why is it common to rerun the k-means algorithm multiple times?
Because the final result depends on the random initialisation of centroids, and rerunning it with different initialisations helps avoid poor local minima.
28
New cards
What is the effect of a poor random initialisation of centroids in k-means?
It can lead to slow convergence and suboptimal clustering results.
29
New cards
How are cluster centroids updated in each iteration of Lloyd's algorithm?
They are recomputed as the mean coordinate of all observations assigned to that cluster.
30
New cards
What is the condition for assigning an observation xix_i to a cluster CsC_s in k-means?
The observation is assigned to the cluster with the closest centroid, defined as s=argminj{1,...,k}δ(xi,cj)s = \text{argmin}_{j \in \{1,...,k\}} \delta(x_i, \overline{c}_j).