code: public Triple<Double, Integer, Integer> getPrecisionInfo(L label) {
      int i = labelIndex.indexOf(label);
      if (tpCount[i] == 0 && fpCount[i] == 0) {
        return new Triple<Double, Integer, Integer>(1.0, tpCount[i], fpCount[i]);
      }
      return new Triple<Double, Integer, Integer>((((double) tpCount[i]) / (tpCount[i] + fpCount[i])), tpCount[i], fpCount[i]);
    }
docs: Returns the current precision: <tt>tp/(tp+fp)</tt>.
  Returns 1.0 if tp and fp are both 0.