kmeanspp | R Documentation |
Performs the k-means++ algorithm to cluster the rows of the input matrix.
kmeanspp(x, n_cluster, n_init_clusterings = 10L, n_max_iter = 10L)
x |
Input matrix (n x p) |
n_cluster |
Number of clusters |
n_init_clusterings |
Number of repeated random initializations to perform |
n_max_iter |
Number of maximum iterations to perform in the k-means algorithm |
Estimation is repeated
An object of class stats::kmeans
.
David Arthur and Sergei Vassilvitskii. K-Means++: The advantages of careful seeding. In Proceedings of the Eighteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA '07, pages 1027––1035. Society for Industrial and Applied Mathematics, 2007.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.