Description Usage Arguments Value
Kmeans with kmeans++ initialization and cityblock distance
1 | my_kmeanspp(data, ll, iter = 25, rep = 50)
|
data |
matrix. Data |
ll |
int. Number of clusters |
iter |
int. Number of iterations |
rep |
int. Number of replications |
list
centroids matrix. Cluster centers
clusters vector. Cluster membership of data samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.