powered by
KMeans(train, num_clusters)
#use the initFeatures to upload train feature matrix #see also KSeedsClusters function to see a similar example #with a toy matrix #cl<-KMeans(train,num_clusters)
Run the code above in your browser using DataLab