[R] predict function for kmeans

Raji raji.sankaran at gmail.com
Tue Dec 21 05:01:05 CET 2010


Hi,

   I am using kmeans algorithm to cluster my training dataset.After the
model is generated, i need to apply it to my production dataset and see the
clusters it falls into.But, i am unable to find a predict function for
kmeans to do this. Could you please let me know if there is a predict
function in R to perform this?

In SPSS, once the kmeans model is generated , it can be applied to a new
dataset and find the clusters.I am trying to do something similar in R.

Thanks in advance.
-- 
View this message in context: http://r.789695.n4.nabble.com/predict-function-for-kmeans-tp3121557p3121557.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list