Lecture 19
Lecture 19
Lecture 19
CSE-4075
(k-means)
Partitional Clustering
• Output a single partition of the data into
clusters
2
K-Means
Predetermined
number of clusters
Seeds
Assign Instances to Clusters
Find New Centroids
New Clusters
Example
Example
Example
Example
Example
Repeat if for the next iteration and check whether the clusters remain the same or not?
Choosing the Value of k
Choosing the Value of k
There is no easy way to choose the value of K
One way is the elbow method