Class NodeAdequacySummary

java.lang.Object
edu.cmu.tetrad.sem.NodeAdequacySummary
All Implemented Interfaces:
TetradSerializable, Serializable

public final class NodeAdequacySummary extends Object implements TetradSerializable
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 Details

    • node

      public final String 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 discrete
      Indicates whether the node is discrete or continuous.
    • parents

      public final List<String> parents
      List of parent nodes for the node being evaluated.
    • holdoutLoss

      public final double holdoutLoss
      The loss value obtained from the holdout set.
    • baselineLoss

      public final double baselineLoss
      The loss value
    • improvement

      public final double improvement
      The improvement in loss value from the baseline to the holdout set.