#[repr(i32)]pub enum EM_Types {
COV_MAT_SPHERICAL = 0,
COV_MAT_DIAGONAL = 1,
COV_MAT_GENERIC = 2,
}Expand description
Type of covariation matrices
Variants§
COV_MAT_SPHERICAL = 0
A scaled identity matrix . There is the only
parameter
to be estimated for each matrix. The option may be used in special cases,
when the constraint is relevant, or as a first step in the optimization (for example in case
when the data is preprocessed with PCA). The results of such preliminary estimation may be
passed again to the optimization procedure, this time with
covMatType=EM::COV_MAT_DIAGONAL.
COV_MAT_DIAGONAL = 1
A diagonal matrix with positive diagonal elements. The number of free parameters is d for each matrix. This is most commonly used option yielding good estimation results.
COV_MAT_GENERIC = 2
A symmetric positively defined matrix. The number of free
parameters in each matrix is about . It is not recommended to use this option, unless
there is pretty accurate initial estimation of the parameters and/or a huge number of
training samples.