Package edu.cmu.tetrad.data
Enum Class UnmixSpec.CovarianceMode
- All Implemented Interfaces:
Serializable,Comparable<UnmixSpec.CovarianceMode>,Constable
- Enclosing class:
UnmixSpec
The CovarianceMode enum represents different modes for handling covariance calculations during graph learning
processes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic UnmixSpec.CovarianceModeReturns the enum constant of this class with the specified name.static UnmixSpec.CovarianceMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AUTO
Represents the automatic mode for covariance calculations. This mode automatically determines the appropriate covariance calculation based on the data characteristics. -
FULL
Represents the full covariance mode. This mode calculates the full covariance matrix, including all pairwise covariances between variables. -
DIAGONAL
Represents the diagonal covariance mode. This mode calculates only the diagonal elements of the covariance matrix, ignoring off-diagonal covariances.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-