public void testClassify8()
{
LearnerGraph from = buildLearnerGraph("A-a->A-b->B / A-c-#C","testClassify1a",mainConfiguration,converter),
to=buildLearnerGraph("A-b->A-a->B","testClassify1b",mainConfiguration,converter);
ConfusionMatrix matrix = DiffExperiments.classify(TestFSMAlgo.buildSet(new String[][]{
new String[] {"a"} // TP
,new String[] {"b"} // TP
,new String[]{"b","b"} // FP
,new String[]{"c"} // TN
},mainConfiguration,converter), from, to);
Assert.assertEquals(2./3.,matrix.getPrecision(),Configuration.fpAccuracy);
Assert.assertEquals(1,matrix.getRecall(),Configuration.fpAccuracy);
Assert.assertEquals(0.8,matrix.fMeasure(),Configuration.fpAccuracy);
Assert.assertEquals(0.5,matrix.getSpecificity(),Configuration.fpAccuracy);
Assert.assertEquals(0.75,matrix.BCR(),Configuration.fpAccuracy);
}