Enum Class UnmixSpec.CovarianceMode

java.lang.Object
java.lang.Enum<UnmixSpec.CovarianceMode>
edu.cmu.tetrad.data.UnmixSpec.CovarianceMode
All Implemented Interfaces:
Serializable, Comparable<UnmixSpec.CovarianceMode>, Constable
Enclosing class:
UnmixSpec

public static enum UnmixSpec.CovarianceMode extends Enum<UnmixSpec.CovarianceMode>
The CovarianceMode enum represents different modes for handling covariance calculations during graph learning processes.
  • Enum Constant Details

    • AUTO

      public static final UnmixSpec.CovarianceMode AUTO
      Represents the automatic mode for covariance calculations. This mode automatically determines the appropriate covariance calculation based on the data characteristics.
    • FULL

      public static final UnmixSpec.CovarianceMode FULL
      Represents the full covariance mode. This mode calculates the full covariance matrix, including all pairwise covariances between variables.
    • DIAGONAL

      public static final UnmixSpec.CovarianceMode DIAGONAL
      Represents the diagonal covariance mode. This mode calculates only the diagonal elements of the covariance matrix, ignoring off-diagonal covariances.
  • Method Details

    • values

      public static UnmixSpec.CovarianceMode[] 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 UnmixSpec.CovarianceMode 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