I'm not really sure where to begin with this but for a simplified example I have a set of integers:
{11, 22, 3, 12, 1, 23, 21, 13, 2}
I need to partition these into K=3 clusters with initial means of the clusters of 1,2,3 using Euclidean distances.
I'm assuming I need to find the distance of each value and compute new means but no idea how to go about it and everything I've read online doesn't seem to help
If someone can give me the basic ideas on how to tackle this much appreciated.