Search in sources :

Example 1 with IndTestPositiveCorr

use of edu.cmu.tetrad.search.IndTestPositiveCorr in project tetrad by cmu-phil.

the class PositiveCorrScore method getScore.

@Override
public Score getScore(DataModel dataSet, Parameters parameters) {
    this.dataSet = dataSet;
    double alpha = parameters.getDouble("alpha");
    this.alpha = alpha;
    IndTestPositiveCorr test = new IndTestPositiveCorr((DataSet) dataSet, alpha);
    return new ScoredIndTest(test);
}
Also used : ScoredIndTest(edu.cmu.tetrad.search.ScoredIndTest) IndTestPositiveCorr(edu.cmu.tetrad.search.IndTestPositiveCorr)

Aggregations

IndTestPositiveCorr (edu.cmu.tetrad.search.IndTestPositiveCorr)1 ScoredIndTest (edu.cmu.tetrad.search.ScoredIndTest)1