Class AdjacencyConfusion
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.utils.AdjacencyConfusion
A confusion matrix for adjacencies--i.e. TP, FP, TN, FN for counts of adjacencies.
- Version:
- $Id: $Id
- Author:
- josephramsey
- 
Constructor SummaryConstructorsConstructorDescriptionAdjacencyConfusion(Graph truth, Graph est) Constructs a new AdjacencyConfusion object from the given graphs.
- 
Method Summary
- 
Constructor Details- 
AdjacencyConfusionConstructs a new AdjacencyConfusion object from the given graphs.- Parameters:
- truth- The true graph.
- est- The estimated graph.
 
 
- 
- 
Method Details- 
getTppublic int getTp()Returns the true positive count.- Returns:
- the true positive count.
 
- 
getFppublic int getFp()Returns the false positive count.- Returns:
- the false positive count.
 
- 
getFnpublic int getFn()Returns the false negative count.- Returns:
- the false negative count.
 
- 
getTnpublic int getTn()Returns the true negative count.- Returns:
- the true negative count.
 
 
-