powered by
Clustering Matrix : One hot encoding
CEM(Z)
Z a matrix N x K One-Hot-Encoded by rows, where K is the number of clusters.
a matrix N x K, with probabilities to belong of a cluster in rows for each observation.
Z <- matrix(rnorm(12),3,4) Z_cem <- CEM(Z) print(Z_cem)
Run the code above in your browser using DataLab