code: public String getF1Description(int numDigits) {
      NumberFormat nf = NumberFormat.getNumberInstance();
      nf.setMaximumFractionDigits(numDigits);
      return nf.format(getFMeasure());
    }
docs: Returns a String summarizing F1 that will print nicely.