Description Usage Arguments Value Examples
Chooses initial cluster locations using Kmeans++
1 | init_centers(X, k)
|
X |
array Data points of dimension (n,d) |
k |
int The number of desired clusters |
array Initial coordinates of clusters
1 2 | X = rbind(c(0,0), c(1,1))
init_centers(X, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.