Get initialized k center points
Get initialized k center points
sample point
k centers
Do k-means training algorithm
Do k-means training algorithm
sample point
k centers
max training iter limitation
Happened if K has changed while iteration
Happened if K has changed while iteration
current K value
Print loss and step information to console, override it to output to another place
Print loss and step information to console, override it to output to another place
current step
loss value: sum distance for each point to it's center
the count of the point
(Since version ) see corresponding Javadoc for more information.
1.0
2.7