Question
B. Consider the following set of one-dimensional points: {6, 12, 18, 24, 30, 42, 48}. a) For each of the following sets of initial centroids
B. Consider the following set of one-dimensional points: {6, 12, 18, 24, 30, 42, 48}.
-
a) For each of the following sets of initial centroids
-
{18, 45}
-
{15, 40},
create two clusters by assigning each point to the nearest centroid, and then calculate the sum squared error for each set of two clusters after updating the centroids.
[6 marks]
-
-
b) Do both sets of centroids in B(a) represent stable solutions, i.e., if the K-means algorithm is applied to this set of points using the given centroids as the starting centroids, would there be any change in the clusters generated? [3 marks]
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