Package edu.cmu.tetrad.study.performance
Class Comparison2
java.lang.Object
edu.cmu.tetrad.study.performance.Comparison2
Does a comparison of algorithm results across algorithm type, sample sizes, etc.
- Version:
- $Id: $Id
- Author:
- josephramsey 2016.03.24, dmalinsky 2016.05.20
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ComparisonResult
compare
(ComparisonParameters params) Simulates data from model parameterizing the given DAG, and runs the algorithm on that data, printing out error statistics.static int
getIndex.static Knowledge
getKnowledge
(Graph graph) getKnowledge.static int
getLag.static String
getNameNoLag
(Object obj) getNameNoLag.static String
getPrefix.static TextTable
summarize
(List<ComparisonResult> results, List<Comparison2.TableColumn> tableColumns) summarize.
-
Method Details
-
compare
Simulates data from model parameterizing the given DAG, and runs the algorithm on that data, printing out error statistics.- Parameters:
params
- aComparisonParameters
object- Returns:
- a
ComparisonResult
object - Throws:
InterruptedException
-
summarize
public static TextTable summarize(List<ComparisonResult> results, List<Comparison2.TableColumn> tableColumns) summarize.
-
getKnowledge
-
getNameNoLag
-
getPrefix
-
getIndex
-
getLag
-