Package elki.clustering.em.models
Class SphericalGaussianModelFactory
- java.lang.Object
-
- elki.clustering.em.models.SphericalGaussianModelFactory
-
- All Implemented Interfaces:
EMClusterModelFactory<NumberVector,EMModel>
public class SphericalGaussianModelFactory extends java.lang.Object implements EMClusterModelFactory<NumberVector,EMModel>
Factory for EM with multivariate gaussian models using a single variance.These models have a single variances, no covariance, so this corresponds to the
'VII'
model in Mclust (R).- Since:
- 0.7.0
- 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 SphericalGaussianModelFactory(KMeansInitialization initializer)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<SphericalGaussianModel>
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
-
SphericalGaussianModelFactory
public SphericalGaussianModelFactory(KMeansInitialization initializer)
Constructor.- Parameters:
initializer
- Class for choosing the initial seeds.
-
-
Method Detail
-
buildInitialModels
public java.util.List<SphericalGaussianModel> 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
-
-