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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.