Class SemBicScorer

java.lang.Object
edu.cmu.tetrad.search.score.SemBicScorer

public class SemBicScorer extends Object
Scores an entire DAG using the SemBicScore.
Author:
josephramsey
See Also:
  • Constructor Details

    • SemBicScorer

      public SemBicScorer()
  • Method Details

    • scoreDag

      public static double scoreDag(Graph dag, DataModel data, 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.
      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.
      Returns:
      The BIC score of the DAG.