@Test
public void computeMultinomialProbabilities(){

	ValueMap<String, Float> values = new ValueMap<>();
	values.put("red", new FloatValue(0.3f));
	values.put("yellow", new FloatValue(0.5f));
	values.put("green", new FloatValue(Float.MAX_VALUE));
	RegressionModelUtil.computeMultinomialProbabilities(RegressionModel.NormalizationMethod.NONE, values);
	assertEquals(new FloatValue(0.3f), values.get("red"));
	assertEquals(new FloatValue(0.5f), values.get("yellow"));
	assertEquals(new FloatValue(1f - (0.3f + 0.5f)), values.get("green"));
}