### Question:
NormalizationUtil { static public FieldValue normalize(NormContinuous normContinuous, FieldValue value){ double result = normalize(normContinuous, (value.asNumber()).doubleValue()); return FieldValueUtil.create(result); }  static FieldValue normalize(NormContinuous normContinuous, FieldValue value); static double normalize(NormContinuous normContinuous, double value); static double denormalize(NormContinuous normContinuous, double value);  }### Answer:
@Test public void testNormalize(){ assertEquals(0.00000, NormalizationUtil.normalize(norm, 0.01), 1e-5); assertEquals(0.19583, NormalizationUtil.normalize(norm, 1.212), 1e-5); assertEquals(0.50000, NormalizationUtil.normalize(norm, 3.07897), 1e-5); assertEquals(0.70458, NormalizationUtil.normalize(norm, 6.5), 1e-5); assertEquals(1.00000, NormalizationUtil.normalize(norm, 11.44), 1e-5); }
@Test public void testNormalizeOutliers(){ assertEquals(-0.16455, NormalizationUtil.normalize(norm, -1.0), 1e-5); assertEquals( 1.04544, NormalizationUtil.normalize(norm, 12.2), 1e-5); norm.setOutliers(OutlierTreatmentMethodType.AS_MISSING_VALUES); norm.setMapMissingTo(0.5); assertEquals(0.5, NormalizationUtil.normalize(norm, -1.0), 1e-5); assertEquals(0.5, NormalizationUtil.normalize(norm, 12.2), 1e-5); norm.setOutliers(OutlierTreatmentMethodType.AS_EXTREME_VALUES); assertEquals(0.0, NormalizationUtil.normalize(norm, -1.0), 1e-5); assertEquals(1.0, NormalizationUtil.normalize(norm, 12.2), 1e-5); }