Class OrientationConfusion

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

public class OrientationConfusion extends Object
A confusion matrix for orientations:

True | Estimated | Orientation -------------------------------- a <- b | a <- b | tp, tn | a -> b | fp, fn | a −− b | fn | a .. b | fn -------------------------------- a .. b | a <- b | fp | a -> b | fp | a −− b | | a .. b |

The true graph should be a DAG!

Author:
bryanandrews, josephramsey
  • Constructor Details

    • OrientationConfusion

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

    • getTp

      public int getTp()
    • getFp

      public int getFp()
    • getFn

      public int getFn()
    • getTn

      public int getTn()