Class DegenerateGaussianScoreOld

java.lang.Object
edu.cmu.tetrad.search.DegenerateGaussianScoreOld
All Implemented Interfaces:
Score

public class DegenerateGaussianScoreOld extends Object implements Score
Deprecated.
Use DegenerateGaussianScore
Implements a degenerate Gaussian BIC score for FGES.

http://proceedings.mlr.press/v104/andrews19a/andrews19a.pdf

Author:
Bryan Andrews
  • Constructor Details

    • DegenerateGaussianScoreOld

      public DegenerateGaussianScoreOld(DataSet dataSet)
      Deprecated.
      Constructs the score using a covariance matrix.
  • Method Details

    • localScore

      public double localScore(int i, int... parents)
      Deprecated.
      Calculates the sample likelihood and BIC score for i given its parents in a simple SEM model
      Specified by:
      localScore in interface Score
      Parameters:
      i - The index of the node.
      parents - The indices of the node's parents.
      Returns:
      The score, or NaN if the score cannot be calculated.
    • localScoreDiff

      public double localScoreDiff(int x, int y, int[] z)
      Deprecated.
      Specified by:
      localScoreDiff in interface Score
    • getSampleSize

      public int getSampleSize()
      Deprecated.
      Specialized scoring method for a single parent. Used to speed up the effect edges search.
      Specified by:
      getSampleSize in interface Score
    • isEffectEdge

      public boolean isEffectEdge(double bump)
      Deprecated.
      Specified by:
      isEffectEdge in interface Score
    • getVariables

      public List<Node> getVariables()
      Deprecated.
      Specified by:
      getVariables in interface Score
    • getMaxDegree

      public int getMaxDegree()
      Deprecated.
      Specified by:
      getMaxDegree in interface Score
    • determines

      public boolean determines(List<Node> z, Node y)
      Deprecated.
      Specified by:
      determines in interface Score
    • getPenaltyDiscount

      public double getPenaltyDiscount()
      Deprecated.
    • setPenaltyDiscount

      public void setPenaltyDiscount(double penaltyDiscount)
      Deprecated.
    • getStructurePrior

      public double getStructurePrior()
      Deprecated.
    • setStructurePrior

      public void setStructurePrior(double structurePrior)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Specified by:
      toString in interface Score
      Overrides:
      toString in class Object