Class TailConfusion
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.utils.TailConfusion
A confusion matrix for tails--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.
- Version:
- $Id: $Id
- Author:
- josephramsey, rubens (November, 2016)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getArrowsFn.int
getArrowsFp.int
getArrowsTn.int
getArrowsTp.int
getTwoCycleFn.int
getTwoCycleFp.int
getTwoCycleTp.
-
Constructor Details
-
TailConfusion
-
-
Method Details
-
getArrowsTp
public int getArrowsTp()getArrowsTp.
- Returns:
- a int
-
getArrowsFp
public int getArrowsFp()getArrowsFp.
- Returns:
- a int
-
getArrowsFn
public int getArrowsFn()getArrowsFn.
- Returns:
- a int
-
getArrowsTn
public int getArrowsTn()getArrowsTn.
- Returns:
- a int
-
getTwoCycleTp
public int getTwoCycleTp()getTwoCycleTp.
- Returns:
- a int
-
getTwoCycleFp
public int getTwoCycleFp()getTwoCycleFp.
- Returns:
- a int
-
getTwoCycleFn
public int getTwoCycleFn()getTwoCycleFn.
- Returns:
- a int
-