Description Usage Arguments Value Examples
KMeans clustering algorithm
1 | KMeans(train, num_clusters)
|
train |
matrix of train features |
num_clusters |
number of clusters desired |
cl list containing the clusters ownerships
1 2 3 4 | #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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.