Title: Gene Selection for Cancer Classification using Support Vector Machines
1k-means Clustering Algorithm
- Given a set of data points as input
- Randomly assign each point to one of the k
clusters - Repeat until convergence
- Calculate model of each of the k clusters
- Assign each point to the cluster with the
closest model
2k-means Clustering Example
3k-means Clustering Example
Randomly assign each point to one of the clusters
4k-means Clustering Example
Calculate center of each cluster
5k-means Clustering Example
Calculate center of each cluster
6k-means Clustering Example
Calculate center of each cluster
7k-means Clustering Example
Assign each point to closest cluster center
8k-means Clustering Example
Calculate center of each cluster
9k-means Clustering Example
Calculate center of each cluster
10k-means Clustering Example
Calculate center of each cluster
11k-means Clustering Example
Assign each point to closest cluster center
12k-means Clustering Example
Calculate center of each cluster
13k-means Clustering Example
Calculate center of each cluster
14k-means Clustering Example
Calculate center of each cluster
15k-means Clustering Example
Convergence
16Does k-means always work?
17Does k-means always work?
18Does k-means always work?