use of edu.cmu.tetrad.search.ScoredIndTest 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);
}
use of edu.cmu.tetrad.search.ScoredIndTest in project tetrad by cmu-phil.
the class FisherZScore method getScore.
@Override
public Score getScore(DataModel dataSet, Parameters parameters) {
this.dataSet = dataSet;
double alpha = parameters.getDouble("alpha");
this.alpha = alpha;
IndTestFisherZ test = new IndTestFisherZ((DataSet) dataSet, alpha);
return new ScoredIndTest(test);
}
Aggregations