CPSC 483 project2 Solved

35.00 $

Category:

Description

5/5 - (1 vote)

 

The number of clusters, K = 3. The dataset is uploaded in project directory. The initial centroids are ideally random, but can taken to be [3,3], [6,2], [8,5] for this project. No need to calculate and subsequently minimize the cost. Simply run the KMeans algorithm 10 times, and consider it converged at that point.

  • The initial point distribution should be depicted in the 2-D space, alongside 3 initial centroid points. The latter should be in 3 different colors and specific markers indicating they are centroids and not points. The dataset points should be in any 4th So essentially 2 markers and 4 colors in total. 1 plot submission.
  • Subsequent to the above step, once the points are assigned to its closest centroid, color each point to its assigned centroid color. The centroid should still show in same color, but different marker. So now essentially 2 markers and 3 colors in total. 1 plot submission.
  • Then only changing centroids should be printed after each iteration. No plots.
  • Show the final point distribution, with each point colored according to its final centroid. So essentially 2 markers and 3 colors in total. 1 plot submission.

 

 

 

 

  • cpsc483proj2-ixdvfv.zip