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 Summary
ConstructorsConstructorDescriptionAdjacencyConfusion
(Graph truth, Graph est) Constructs a new AdjacencyConfusion object from the given graphs. -
Method Summary
-
Constructor Details
-
AdjacencyConfusion
-
-
Method Details
-
getTp
public int getTp()Returns the true positive count.- Returns:
- the true positive count.
-
getFp
public int getFp()Returns the false positive count.- Returns:
- the false positive count.
-
getFn
public int getFn()Returns the false negative count.- Returns:
- the false negative count.
-
getTn
public int getTn()Returns the true negative count.- Returns:
- the true negative count.
-