K Means Clustering Lecture
K Means Clustering Lecture
Introduction
1
Examples of Clustering
2
Good Clustering
3
Major Clustering Approaches
4
Partitioning Algorithms
5
K means clustering, The concept of Center (Centroid)
is
6
K means clustering, The concept of Center (Centroid)
7
K-Means Clustering
8
K-Means Clustering
Distance Measurement
Example: K-Means Clustering
10
Example: K-Means Clustering
11
Example: K-Means Clustering
12
Example: K-Means Clustering
13
Example: K-Means Clustering
The resulting clusters have been shown and they are actual
points within the clusters. The pervious centroids were not
true centroids.
15
Example: K-Means Clustering
17
Example: K-Means Clustering
18
Example: K-Means Clustering
19
Example: K-Means Clustering
20
Choosing the best possible k
21
Choosing the best possible k
22
Silhouette Coefficient
For the ith object in cluster A and any other object in some
other cluster B, calculate the mean (average) distance from
the ith object in cluster A to all the objects in cluster B.
Find the minimum such value with respect to all clusters. Call
this bi. The Silhouette coefficient for this ith object is given by
Si = (bi - ai)/ max(ai, bi)
24
Choosing the best possible k
25
Advantages of K-Means Clustering
26
Disadvantages of K-Means Clustering
27
K-means variations
31
CLARA (Clustering Large Applications)
32