Question: You have been provided with a dataset containing information about customer spending habits. Your task is to use the k - means algorithm with Euclidean
You have been provided with a dataset containing information about customer spending habits. Your task is to use the kmeans algorithm with Euclidean distance to cluster the following examples into clusters:
tableCustomerSpending in $CCC
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:
tableCCCCCCCCCCCCCCCC
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.
In your report, you need to include the appropriate cluster assignment and centroids.
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
