com.tencent.angel.ml.clustering.kmeans
Calculate the distance between instance and centers, and find the closest center
Calculate the distance between instance and centers, and find the closest center
: a instance
: the closest center id
: Number of clusters
Predict use the PSModels and predict data
Predict use the PSModels and predict data
predict data
predict result
Pull centers from PS to local worker
Pull mini-batch samples from PS to local worker