| kmeansDS | R Documentation |
Performs an iteration of a k-means parallel algorithm (what in a multi-thread machine would be run on each thread). The client acts as the master and the servers as the slaves if thinking like a regular parallel implementation.
kmeansDS(x, ...)
x |
|
... |
|
list with:
-counts numeric vector with the counts per cluster
-centers data frame New centroids calculated
-assignations numeric vector ordered cluster assignations, to be used by the client
to assign them with the kmeans.assign_result function to a table on the servers to be later used
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.