Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 3 Suppose you have a list of points, i . e . , 2 D coordinates, shown in the Table below. Your goal is
Question
Suppose you have a list of points, ieD coordinates, shown in the Table below. Your
goal is to cluster these points into three distinct clusters using the Kmeans algorithm.
Suppose initially we assign A C and G as the centers of each cluster, respectively. Use
the Euclidean distance as the distance measure.
Point Name Coordinates
A
B
C
D
E
F
G
H
a Show the clusters, along with their new centers at the first round of iteration of the
Kmeans algorithm. In other words, determine which points will be assigned to each
cluster at the first round of iteration; after that, compute the new centroids ie centers
of each cluster
marks
b Run the Kmeans algorithm until convergence. At each iteration of the algorithm, show
only the clusters. For this question, you do not need to show derivation steps and
the calculations with the Euclidean distance, just report which points belong to each
cluster at each iteration.
marks
c Assume that each point of the above Table further contains a class label. Points A B
and C belong to class ; points D and E belong to class ; point E belongs to class
; point F belongs to class ; points G and H belong to class Assign classes to
the clusters that you found on question b based on the majority value of the class
attribute within each cluster. Discuss a problem which you observe. What would be
the difference if you run Kmeans with clusters K You do not need to run the
algorithm in this case.
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