Package edu.cmu.tetrad.search.score
Class SemBicScorer
java.lang.Object
edu.cmu.tetrad.search.score.SemBicScorer
Scores an entire DAG using the SemBicScore.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
Scores the given DAG using the given data model, usimg a BIC score.static double
Scores the given DAG using the given data model, usimg a BIC score.
-
Method Details
-
scoreDag
Scores the given DAG using the given data model, usimg a BIC score.- Parameters:
dag
- The DAG.data
- a continuous dataset or a covariance matrix.precomputeCovariances
- a boolean- Returns:
- The BIC score of the DAG.
-
scoreDag
public static double scoreDag(Graph dag, DataModel data, double penaltyDiscount, boolean precomputeCovariances) Scores the given DAG using the given data model, usimg a BIC score.- Parameters:
dag
- The DAG.data
- a continuous dataset or a covariance matrix.penaltyDiscount
- The penalty discount.precomputeCovariances
- a boolean- Returns:
- The BIC score of the DAG.
-