Here is the reference::
http://scikit-learn.org/stable/modules/generated/sklearn.cluster.KMeans.html#sklearn.cluster.KMeans.predict
2012/11/12 Andreas Mueller :
> Hi Christian.
> Some clustering algorithm (for example KMeans and MiniBatchKMeans)
> provide a "predict" function, which you can use t
Hi Christian.
Some clustering algorithm (for example KMeans and MiniBatchKMeans)
provide a "predict" function, which you can use to label new data.
Not all algorithms support this as there is not always an obvious way
to assign labels to new points (for example I don't know of any using
mean-shift)