CEM | R Documentation |
Clustering Matrix : One hot encoding
CEM(Z)
Z |
a matrix N x K, with probabilities to belong of a cluster in rows for each observation. |
Z a matrix N x K One-Hot-Encoded by rows, where K is the number of clusters.
Z <- matrix(rnorm(12),3,4)
Z_cem <- CEM(Z)
print(Z_cem)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.