112113114115116117118
for (Map.Entry<String, Double> e : scores.entrySet()) { scores.put(e.getKey(), e.getValue() / normalization); } return new MulticlassPrediction(scores); }