org.neuroph.util.norm
Class MaxNormalizer
java.lang.Object
org.neuroph.util.norm.MaxNormalizer
- All Implemented Interfaces:
- Normalizer
public class MaxNormalizer
- extends Object
- implements Normalizer
Max normalization method, which normalize data in regard to max element in training set (by columns)
Normalization is done according to formula:
normalizedVector[i] = vector[i] / max[i]
- Author:
- Zoran Sevarac
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaxNormalizer
public MaxNormalizer()
normalize
public void normalize(DataSet dataSet)
- Description copied from interface:
Normalizer
- Normalize specified training set
- Specified by:
normalize
in interface Normalizer
normalizeMax
public double[] normalizeMax(double[] vector)
Copyright © 2012. All Rights Reserved.