Class ArrowConfusion
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.utils.ArrowConfusion
A confusion matrix for arrows--i.e. TP, FP, TN, FN for counts of arrow endpoints.
 A true positive arrow is counted for X*->Y in the estimated graph if X is not adjacent
 to Y or X--Y or X<--Y.
- Author:
- jdramsey, rubens (November, 2016)
- 
Constructor SummaryConstructorsConstructorDescriptionArrowConfusion(Graph truth, Graph est) ArrowConfusion(Graph truth, Graph est, boolean truthAdj) 
- 
Method Summary
- 
Constructor Details- 
ArrowConfusion
- 
ArrowConfusion
 
- 
- 
Method Details- 
getTppublic int getTp()
- 
getFppublic int getFp()
- 
getFnpublic int getFn()
- 
getTnpublic int getTn()
- 
getTwoCycleTppublic int getTwoCycleTp()
- 
getTwoCycleFppublic int getTwoCycleFp()
- 
getTwoCycleFnpublic int getTwoCycleFn()
- 
getTpcpublic int getTpc()Two positives for common edges.
- 
getFpcpublic int getFpc()False positives for common edges.
- 
getFncpublic int getFnc()False negatives for common edges.
- 
getTncpublic int getTnc()True Negatives for common edges.
- 
isTruthAdjpublic boolean isTruthAdj()
 
-