docs: public static <I, O> Predictor<I, O> constant(O outputValue) {
      Map<O, Double> outputProbabilities = Maps.newHashMap();
      outputProbabilities.put(outputValue, 1.0);
      return new ConstantPredictor<I, O>(outputProbabilities);
    }