Class NodeAdequacySummary
java.lang.Object
edu.cmu.tetrad.sem.NodeAdequacySummary
- All Implemented Interfaces:
TetradSerializable, Serializable
Represents the adequacy summary of a specific node in a model with information about its
characteristics, performance metrics, and improvement over a baseline.
This class is immutable and holds the metrics and metadata associated with a node.
It is used to evaluate the performance of a node compared to a baseline.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal doubleThe loss valuefinal booleanIndicates whether the node is discrete or continuous.final doubleThe loss value obtained from the holdout set.final doubleThe improvement in loss value from the baseline to the holdout set.final StringThe name or identifier of the node being evaluated within the model.List of parent nodes for the node being evaluated. -
Method Summary
-
Field Details
-
node
The name or identifier of the node being evaluated within the model. This field uniquely represents the specific node whose adequacy and performance metrics are summarized in the containing class. It is typically used as a reference to evaluate its characteristics in relation to its parents and associated metrics. This value is immutable and set during the construction of the object. -
discrete
public final boolean discreteIndicates whether the node is discrete or continuous. -
parents
-
holdoutLoss
public final double holdoutLossThe loss value obtained from the holdout set. -
baselineLoss
public final double baselineLossThe loss value -
improvement
public final double improvementThe improvement in loss value from the baseline to the holdout set.
-