}
@SuppressWarnings({ "rawtypes", "unchecked" })
protected Instance<?> normalize(Instance<?> instance) {
double[] normalizedFeatures = MathUtil.normalize(instance.features);
Instance<?> normalizedInstance = new Instance(instance.label, normalizedFeatures);
return normalizedInstance;
}