Professional Documents
Culture Documents
8 43 3.2 2
9 26 17 1
10 45 2.6 2
11 24 10 1
Iter
Iter
B
Iter
B
18
16
2
#N/A #N/A 43 3.2 7.8
0 26 17 #N/A #N/A 337.0
5 10 15
#N/A #N/A20 25
45 30 35
2.6 40 45 50 55
15.6
24 10Cluster 1#N/A
Cluster 2 #N/A
Center 200.0
Iteration 2
18
16
Iteration 3
18
16
10
8
18
16
14
Iteration 4
18
16
33.3 2.8
18.4 20.2
35.4 3.9
14.1 19.4
Dist_C1 Dist_C2
3.5 13.2
22.7 6.4
4.3 15.1
27.8 11.2
18.0 1.9
1.3 15.4
2.9 17.7
20.4 4.1
4.9 17.9
22.4 6.0
2.4 16.7
Dist_C1 Dist_C2
2.6 18.7
21.9 1.6
3.3 20.7
26.9 5.8
17.1 4.7
0.5 21.0
3.8 23.1
19.5 2.2
4.5 23.4
21.6 1.0
3.1 22.2
Dist_C1 Dist_C2
2.6 18.7
21.9 1.6
3.3 20.7
26.9 5.8
17.1 4.7
0.5 21.0
3.8 23.1
19.5 2.2
4.5 23.4
21.6 1.0
3.1 22.2
th the cluster centres in all the cells of Dist_C1 and Dist_C2 columns
r each datapoint to cluster center 1 (Refer formula in the cell T6)
r each datapoint to cluster center 2 (Refer formula in the cell U6)
ar in the next iteration box
nsecutive iterations converge
en you will find that the cluster centers in Iteration 3 and 4 will be same.
the final segmentation is done.
Distance Distance
Customer Money to Cluster to Cluster
spent on centre 1 centre 2 Assigned
Age dresses Cluster
1 28 11 18.2 15.8 2
2 45 2 35.5 4.5 2
3 28 15 19.3 17.5 2
4 51 3 41.3 8.5 2
5 42 7 32.0 1.4 2
6 26 12 16.5 18.0 1
7 23 10 13.2 20.4 1
9 26 17 18.4 20.2 1
10 45 2.6 35.4 3.9 2
11 24 10 14.1 19.4 1
Money
Cluster spent on
Center Age dresses
1 10.0 8.0
2 43.0 6.0
Customer
Age
Money
Customer spent on
dresses Assigned
Age (₹1000) Cluster 6 26
1 28 11 2 7 23
2 45 2 2 9 26
3 28 15 2 11 24
4 51 3 2 Age
Cluster centre
5 42 7 2 1 25.8
8 43 3.2 2
10 45 2.6 2
Money
spent on
dresses
Age (₹1000)
Cluster
centre 2 45.2 3.6
Money
spent on
dresses Assigned
(₹1000) Cluster
12 1
10 1
17 1
10 1
Money
spent on
dresses
(₹1000)
12.5