EM_alg_GMM | R Documentation |
Given the prespecified number of clusters, the algorithm will calculate the mean and covariance of each cluster. For complete examples check out the documentation for robustEM.
EM_alg_GMM(sampleMat, cluster, lambda = 10, inits)
sampleMat |
All the points in a matrix |
cluster |
Number of clusters |
lambda |
Regularization Parameter |
inits |
List of initial values, include: mean (a c*d matrix) Covariance (a list with c matrices of dimension d*d) proportion of clusters (a vector with c elements adding up to one) |
A list of results, include:
Updated mean vectors for each cluster
Updated covariances for each cluster
Probability of each point in each cluster(a cluster*n matrix)
Number of clusters (cluster)
Dimension (d)
Number of points (n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.