Search in sources :

Example 1 with InverseCorrelation

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

the class InverseCorrelationRunner method execute.

// ===================PUBLIC METHODS OVERRIDING ABSTRACT================//
public void execute() {
    Object dataModel = getDataModel();
    if (dataModel instanceof DataSet) {
        DataSet dataSet = (DataSet) dataModel;
        Parameters params = getParams();
        InverseCorrelation search = new InverseCorrelation(dataSet, params.getDouble("thr", 1e-4));
        Graph graph = search.search();
        setResultGraph(graph);
    }
}
Also used : Parameters(edu.cmu.tetrad.util.Parameters) Graph(edu.cmu.tetrad.graph.Graph) DataSet(edu.cmu.tetrad.data.DataSet) InverseCorrelation(edu.cmu.tetrad.search.InverseCorrelation)

Aggregations

DataSet (edu.cmu.tetrad.data.DataSet)1 Graph (edu.cmu.tetrad.graph.Graph)1 InverseCorrelation (edu.cmu.tetrad.search.InverseCorrelation)1 Parameters (edu.cmu.tetrad.util.Parameters)1