(a) Execute the k-means algorithm (as accurately as possible) on
the following data. Dots
indicate data points; the two squares show the initial cluster
centers. In your plots, draw the cluster
centers as squares and also show the decision boundary that defines
each cluster. Use as many
pictures as you need for convergence, or until all are full. Also,
explain your process and placement
during the algorithm. [6 marks]
Question 4: K-means [10 marks] (a) Execute the k-means algorithm (as accurately as possible) on the following data. Dots indicate data points; the two squares show the initial cluster centers. In your plots, draw the cluster centers as squares and also show the decision boundary that defines each cluster. Use as many pictures as you need for convergence, or until all are full. Also, explain your process and placement during the algorithm. [6 marks] ¹2 (b) Would increasing the number of clusters increase or decrease the value of the cost function? [4 marks] O
(a) Execute the k-means algorithm (as accurately as possible) on the following data. Dots indicate data points; the two
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am