public class GaussianMixture extends ExponentialFamilyMixture
Mixture.Componentbic, Lcomponents| Constructor and Description |
|---|
GaussianMixture(Mixture.Component... components)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static GaussianMixture |
fit(double[] x)
Fits the Gaussian mixture model with the EM algorithm.
|
static GaussianMixture |
fit(int k,
double[] x)
Fits the Gaussian mixture model with the EM algorithm.
|
fit, fitbic, cdf, entropy, length, logp, map, mean, p, posteriori, quantile, rand, size, toString, varianceinverseTransformSampling, quantile, quantile, rejectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitlikelihood, logLikelihood, rand, sdpublic GaussianMixture(Mixture.Component... components)
components - a list of multivariate Gaussian distributions.public static GaussianMixture fit(int k, double[] x)
k - the number of components.x - the training data.public static GaussianMixture fit(double[] x)
x - the training data.