Class BidirectedConfusion
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.utils.BidirectedConfusion
A confusion matrix for bidireced edges--i.e. TP, FP, TN, FN for counts of bidirected edges.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Constructor Summary
ConstructorsConstructorDescriptionBidirectedConfusion
(Graph truth, Graph est) Constructs a new confusion matrix for bidirected edges. -
Method Summary
-
Constructor Details
-
BidirectedConfusion
-
-
Method Details
-
getTp
public int getTp()Returns the number of true positives.- Returns:
- The number of true positives.
-
getFp
public int getFp()Returns the number of false positives.- Returns:
- The number of false positives.
-
getFn
public int getFn()Returns the number of false negatives.- Returns:
- The number of false negatives.
-
getTn
public int getTn()Returns the number of true negatives.- Returns:
- The number of true negatives.
-