Class TailConfusion

java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.utils.TailConfusion

public class TailConfusion extends Object
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.
Author:
josephramsey, rubens (November, 2016)
  • Constructor Details

    • TailConfusion

      public TailConfusion(Graph truth, Graph est)
  • Method Details

    • getArrowsTp

      public int getArrowsTp()
    • getArrowsFp

      public int getArrowsFp()
    • getArrowsFn

      public int getArrowsFn()
    • getArrowsTn

      public int getArrowsTn()
    • getTwoCycleTp

      public int getTwoCycleTp()
    • getTwoCycleFp

      public int getTwoCycleFp()
    • getTwoCycleFn

      public int getTwoCycleFn()