8 K means, K medoids

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

1/32

encourage image

There's no tags or description

Looks like no tags are added yet.

33 Terms

1
New cards
What does clustering aim to find?
Groups of similar observations without using target labels to define the fit.
2
New cards
What is the K-means objective?
Minimize WSS = sum_k sum_(i in C_k) norm(x_i-mu_k)².
3
New cards
What are the two alternating K-means steps?
Assign each observation to its nearest centroid; recompute each centroid as the mean of its assigned observations.
4
New cards
Why is the mean the K-means centroid?
For a fixed cluster, it minimizes the sum of squared Euclidean distances to the center.
5
New cards
Does K-means guarantee the global minimum?
No. It can converge to a local optimum that depends on initialization.
6
New cards
Why use several random K-means starts?
To reduce sensitivity to a poor initialization and choose a better attained solution.
7
New cards
What does nstart control in R's kmeans()?
The number of random initial configurations tried.
8
New cards
Why does K-means favor roughly compact spherical groups?
Its assignment and objective use squared Euclidean distance to point centroids.
9
New cards
Why is K-means sensitive to outliers?
Squared distances make distant observations contribute strongly and can pull the centroid.
10
New cards
Why should K be chosen rather than simply maximizing it?
WSS usually decreases as K increases, even if the extra clusters are not meaningful.
11
New cards
What does the elbow heuristic look for?
A point where adding clusters yields diminishing reductions in within-cluster variation.
12
New cards
Does the elbow guarantee a true number of clusters?
No. It is a heuristic and a clear elbow may not exist.
13
New cards
For data (1,3,6,8) and initial centers 1 and 6, what is the first K-means assignment?
{1,3} joins center 1; {6,8} joins center 6.
14
New cards
What are the updated means for clusters {1,3} and {6,8}?
2 and 7.
15
New cards
What is the updated WSS for clusters {1,3} and {6,8}?
1+1+1+1=4.
16
New cards
What is a medoid?
An actual observed object chosen to represent a cluster.
17
New cards
How does K-medoids differ from K-means?
It uses observed representatives and can use suitable dissimilarities beyond squared Euclidean distance.
18
New cards
Why is K-medoids often more robust to extreme observations?
A representative must be an observed object and is chosen by its aggregate dissimilarity rather than an unrestricted squared-distance mean.
19
New cards
What does PAM stand for?
Partitioning Around Medoids.
20
New cards
What is agglomerative hierarchical clustering?
Start with singletons and repeatedly merge the pair of clusters selected by a linkage rule.
21
New cards
What is a dendrogram?
A tree showing the sequence of hierarchical merges and their associated merge levels.
22
New cards
How is a flat partition obtained from a dendrogram?
Cut the tree at a chosen height or to obtain a chosen number of groups.
23
New cards
What is single linkage?
The minimum pairwise dissimilarity between points in the two clusters.
24
New cards
What is complete linkage?
The maximum pairwise dissimilarity between points in the two clusters.
25
New cards
What is average linkage?
The average of all pairwise dissimilarities across the two clusters.
26
New cards
What does Ward's merge criterion minimize?
The increase in within-cluster sum of squared deviations for appropriate Euclidean data.
27
New cards
What is Ward's SSE increase for merging clusters A and B?
Delta SSE = n_A n_B/(n_A+n_B) times norm(mu_A-mu_B)².
28
New cards
For clusters {0,4} and {5,9}, what are single, complete and average linkage distances?
Single=1; complete=9; average=(5+9+1+5)/4=5.
29
New cards
For clusters {0,4} and {5,9}, what is Ward's SSE increase?
Each has size 2 and means 2 and 7; Delta SSE=(2*2/4)*25=25.
30
New cards
Can an ordinary agglomerative method undo an early merge?
No. The merge sequence is normally irreversible.
31
New cards
Why can hierarchical results change after scaling?
Scaling changes distances, which can change both the merge order and the resulting groups.
32
New cards
What causes the single-linkage chaining effect?
Clusters can connect through sequences of close point pairs even when their overall shapes are elongated.
33
New cards