Package elki.clustering.em.models
Class TwoPassMultivariateGaussianModelFactory
- java.lang.Object
-
- elki.clustering.em.models.TwoPassMultivariateGaussianModelFactory
-
- All Implemented Interfaces:
EMClusterModelFactory<NumberVector,EMModel>
public class TwoPassMultivariateGaussianModelFactory extends java.lang.Object implements EMClusterModelFactory<NumberVector,EMModel>
Factory for EM with multivariate Gaussian models (with covariance; also known as Gaussian Mixture Modeling, GMM).These models have individual covariance matrixes, so this corresponds to the
'VVV'
model in Mclust (R).- Since:
- 0.7.5
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected KMeansInitialization
initializer
Class to choose the initial means-
Fields inherited from interface elki.clustering.em.models.EMClusterModelFactory
INIT_ID
-
-
Constructor Summary
Constructors Constructor Description TwoPassMultivariateGaussianModelFactory(KMeansInitialization initializer)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TwoPassMultivariateGaussianModel>
buildInitialModels(Relation<? extends NumberVector> relation, int k)
Build the initial models
-
-
-
Field Detail
-
initializer
protected KMeansInitialization initializer
Class to choose the initial means
-
-
Constructor Detail
-
TwoPassMultivariateGaussianModelFactory
public TwoPassMultivariateGaussianModelFactory(KMeansInitialization initializer)
Constructor.- Parameters:
initializer
- Class for choosing the initial seeds.
-
-
Method Detail
-
buildInitialModels
public java.util.List<TwoPassMultivariateGaussianModel> buildInitialModels(Relation<? extends NumberVector> relation, int k)
Description copied from interface:EMClusterModelFactory
Build the initial models- Specified by:
buildInitialModels
in interfaceEMClusterModelFactory<NumberVector,EMModel>
- Parameters:
relation
- Relationk
- Number of clusters- Returns:
- Initial models
-
-