robustEM | R Documentation |
Calculate the mean and covariance matrix of each cluster based on the data matrix.
robustEM(datamat, cluster, lambda = 3, EM = EM_alg_GMM)
datamat |
The matrix of points to be clustered. |
cluster |
Number of clusters |
lambda |
Regularization Parameter |
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)
sim_info <- simMultGauss(n = 120, d = 2, cluster = 6, out_perc = 0.03, out_mag = 4) result <- robustEM(sim_info[["simdata"]], cluster = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.