Re: [Scikit-learn-general] Using a cluster algorithm ex-post as predictor

2012-11-12 Thread Peter Prettenhofer
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

Re: [Scikit-learn-general] Using a cluster algorithm ex-post as predictor

2012-11-12 Thread Andreas Mueller
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)

[Scikit-learn-general] Using a cluster algorithm ex-post as predictor

2012-11-12 Thread Christian
Hi, after fitting a clusterer I'll label new data. Is there an easier way instead of building an ex-post classifier. Many thanks Christian example in weka: #Building the clusterer and save the object in cluster.cla java -cp weka.jar weka.clusterers.EM -t data0.arff -d cluster.cla === Cluste