Enum Class GaussianMixtureEM.CovarianceType

java.lang.Object
java.lang.Enum<GaussianMixtureEM.CovarianceType>
edu.cmu.tetrad.search.unmix.GaussianMixtureEM.CovarianceType
All Implemented Interfaces:
Serializable, Comparable<GaussianMixtureEM.CovarianceType>, Constable
Enclosing class:
GaussianMixtureEM

public static enum GaussianMixtureEM.CovarianceType extends Enum<GaussianMixtureEM.CovarianceType>
Specifies the type of covariance matrix used in the Gaussian Mixture Model (GMM) implemented by the GaussianMixtureEM class.

The covariance type determines the complexity and flexibility of the model: - FULL: Each component in the GMM has its own full covariance matrix. - DIAGONAL: Each component in the GMM has a diagonal covariance matrix.

The choice of covariance type affects the computational cost and the type of relationships that can be modeled by the GMM.

  • Enum Constant Details

    • FULL

      public static final GaussianMixtureEM.CovarianceType FULL
      Represents the FULL covariance type for the Gaussian Mixture Model (GMM).

      The FULL covariance type specifies that each component in the GMM has its own full covariance matrix. This allows for the modeling of complex relationships between features but increases computational cost compared to simpler covariance types, such as DIAGONAL.

    • DIAGONAL

      public static final GaussianMixtureEM.CovarianceType DIAGONAL
      Represents the DIAGONAL covariance type for the Gaussian Mixture Model (GMM).

      The DIAGONAL covariance type specifies that each component in the GMM has a diagonal covariance matrix. This type of covariance matrix assumes that the features of the data are uncorrelated and have different variances.

      Using a diagonal covariance matrix reduces the complexity and computational cost of the model compared to a FULL covariance matrix. However, it imposes stronger assumptions on the data and may not capture correlations between features effectively.

  • Method Details

    • values

      public static GaussianMixtureEM.CovarianceType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GaussianMixtureEM.CovarianceType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null