Package edu.cmu.tetrad.search
Class DegenerateGaussianScoreOld
java.lang.Object
edu.cmu.tetrad.search.DegenerateGaussianScoreOld
- All Implemented Interfaces:
Score
Deprecated.
Use DegenerateGaussianScore
Implements a degenerate Gaussian BIC score for FGES.
http://proceedings.mlr.press/v104/andrews19a/andrews19a.pdf
- Author:
- Bryan Andrews
-
Constructor Summary
ConstructorsConstructorDescriptionDegenerateGaussianScoreOld(DataSet dataSet) Deprecated.Constructs the score using a covariance matrix. -
Method Summary
Modifier and TypeMethodDescriptionbooleandetermines(List<Node> z, Node y) Deprecated.intDeprecated.doubleDeprecated.intDeprecated.Specialized scoring method for a single parent.doubleDeprecated.Deprecated.booleanisEffectEdge(double bump) Deprecated.doublelocalScore(int i, int... parents) Deprecated.Calculates the sample likelihood and BIC score for i given its parents in a simple SEM modeldoublelocalScoreDiff(int x, int y, int[] z) Deprecated.voidsetPenaltyDiscount(double penaltyDiscount) Deprecated.voidsetStructurePrior(double structurePrior) Deprecated.toString()Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.search.Score
append, defaultScore, getVariable, localScore, localScore, localScoreDiff
-
Constructor Details
-
DegenerateGaussianScoreOld
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:
localScorein interfaceScore- 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:
localScoreDiffin interfaceScore
-
getSampleSize
public int getSampleSize()Deprecated.Specialized scoring method for a single parent. Used to speed up the effect edges search.- Specified by:
getSampleSizein interfaceScore
-
isEffectEdge
public boolean isEffectEdge(double bump) Deprecated.- Specified by:
isEffectEdgein interfaceScore
-
getVariables
Deprecated.- Specified by:
getVariablesin interfaceScore
-
getMaxDegree
public int getMaxDegree()Deprecated.- Specified by:
getMaxDegreein interfaceScore
-
determines
Deprecated.- Specified by:
determinesin interfaceScore
-
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
Deprecated.
-