Question: Customer Spending ( in $ ) C 1 2 0 0 C 2 1 5 0 C 3 3 0 0 C 4 2 5

Customer Spending (in $)
C1200
C2150
C3300
C4250
C5350
C6400
C7100
C880
Suppose that the initial seeds (centres of each cluster) are C1, C4, and C7. Run the k-means algorithm for 1 epoch only.
In particular:
a) Fill the distance matrix based on the Euclidean distance of the points given above:
C1 C2 C3 C4 C5 C6 C7 C8
C10
C20
C30
C40
C50
C60
C70
C80
b) Calculate the cluster assignment at the end of the first epoch:
a. The new cluster assignment (i.e., contents of each cluster)
b. The centroids of the new clusters
c) How many more iterations are needed to converge? Show cluster assignments and
updated centroids for each of the remaining epochs.
 Customer Spending (in $) C1200 C2150 C3300 C4250 C5350 C6400 C7100

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!