Generator version of the algorithm that yields the result of each iteration.
Points [x,y,z,...] to cluster
Number of clusters
Optional
Option object
The result of each iteration.
Generator version of the algorithm that yields the result of each iteration.