Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started