Viewing a single comment thread. View all comments

_throw_hawaii OP t1_jae20rx wrote

Yes, exactly. The maximum number of iterations is a parameter that can be usually set in some functions(in programming languages). So I was told when I had to implement the model with k-means on new data to set that number to zero

1

Donno_Nemore t1_jaeq7oy wrote

This sounds like you are being asked to assign the new data to a cluster. Assignment is as simple as calling the distance function for each pair of point and centroid. The minimum score is the cluster assignment.

1