Description Usage Arguments Value
View source: R/em_mix_gauss_faithful.R
Demo of EM algorithm for univariate Gaussian Mixture Model. using the Old Faithful dataset.
1 2 | GaussmixEM(params, X, clusters = 2, tol = 1e-05, maxits = 100,
showits = T)
|
params: |
initial parameters (means, covariances, cluster probability). |
X: |
data. |
clusters: |
number of clusters desired. |
tol: |
tolerance. |
maxits: |
maximum iterations. |
showits: |
whether to show iterations. |
a list of objects: probs: probability. mu: mean. var: variance. resp: responsibilities. cluster: cluster assignment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.