public double precision ( Integer classLabel , double edgeCase ) { double tpCount = truePositives . getCount ( classLabel ) ; double fpCount = falsePositives . getCount ( classLabel ) ; return EvaluationUtils . precision ( ( long ) tpCount , ( long ) fpCount , edgeCase ) ; }
Returns the precision for a given label