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 $
C
C
C
C
C
C
C
C
Suppose that the initial seeds centres of each cluster are C C and C Run the kmeans algorithm for epoch only.
In particular:
a Fill the distance matrix based on the Euclidean distance of the points given above:
C C C C C C C C
C
C
C
C
C
C
C
C
b Calculate the cluster assignment at the end of the first epoch:
a The new cluster assignment ie 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
