Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 1 . ( K - means ) Use K - means algorithm and Euclidean distance to cluster the following 8 examples into 3 clusters:

Q1.(K-means) Use K-means algorithm and Euclidean distance to cluster the following 8
examples into 3 clusters: 1=(2,10),2=(2,5),3=(8,4),4=(5,8),5=(7,5),6=
(6,4),7=(1,2),8=(4,9). Suppose that the initial seeds (centers of each cluster) are p1,
p4 and p7. Run the K-means algorithm for 1 iteration only. At the end of this iteration show:
1) The new clusters (i.e., the examples belonging to each cluster).
2) The centers of the new clusters.
3) Do we need more iterations for convergence (terminating the algorithm)? Give your
4) answer and brief explanation.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions