code: 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);
      }
docs: Returns the precision for a given label
  
  @param classLabel the label
  @param edgeCase   What to output in case of 0/0
  @return the precision for the label