Class SemBicScorer

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

public class SemBicScorer extends Object
Scores an entire DAG using the SemBicScore.
Version:
$Id: $Id
Author:
josephramsey
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    scoreDag(Graph dag, DataModel data, boolean precomputeCovariances)
    Scores the given DAG using the given data model, usimg a BIC score.
    static double
    scoreDag(Graph dag, DataModel data, double penaltyDiscount, boolean precomputeCovariances)
    Scores the given DAG using the given data model, usimg a BIC score.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.
      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.