@Test
public void testNormalizeOutliers(){

	// as is method
	assertEquals(-0.16455, NormalizationUtil.normalize(norm, -1.0), 1e-5);
	assertEquals( 1.04544, NormalizationUtil.normalize(norm, 12.2), 1e-5);
	// as missing values method
	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);
	// as extreme values method
	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);
}