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 TypeMethodDescriptionboolean
determines
(List<Node> z, Node y) Deprecated.int
Deprecated.double
Deprecated.int
Deprecated.Specialized scoring method for a single parent.double
Deprecated.Deprecated.boolean
isEffectEdge
(double bump) Deprecated.double
localScore
(int i, int... parents) Deprecated.Calculates the sample likelihood and BIC score for i given its parents in a simple SEM modeldouble
localScoreDiff
(int x, int y, int[] z) Deprecated.void
setPenaltyDiscount
(double penaltyDiscount) Deprecated.void
setStructurePrior
(double structurePrior) Deprecated.toString()
Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
localScore
in 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:
localScoreDiff
in interfaceScore
-
getSampleSize
public int getSampleSize()Deprecated.Specialized scoring method for a single parent. Used to speed up the effect edges search.- Specified by:
getSampleSize
in interfaceScore
-
isEffectEdge
public boolean isEffectEdge(double bump) Deprecated.- Specified by:
isEffectEdge
in interfaceScore
-
getVariables
Deprecated.- Specified by:
getVariables
in interfaceScore
-
getMaxDegree
public int getMaxDegree()Deprecated.- Specified by:
getMaxDegree
in interfaceScore
-
determines
Deprecated.- Specified by:
determines
in 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.
-