Answered step by step
Verified Expert Solution
Link Copied!

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 $)
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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

3rd Edition

0471418455, 978-0471418450

More Books

Students also viewed these Databases questions

Question

explain what is meant by experiential learning

Answered: 1 week ago

Question

identify the main ways in which you learn

Answered: 1 week ago