Description Usage Arguments Value Examples
Assigns data points to k clusters
1 | assign(X, centers)
|
X |
array Data points of dimension (n,d) |
centers |
array Coordinates of cluster centers, dimension (k,d) |
array Cluster assignments for each point in X, dimension (n,1)
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.