org.neuroph.util.data.norm
Class MaxNormalizer
- java.lang.Object
-
- org.neuroph.util.data.norm.MaxNormalizer
-
- All Implemented Interfaces:
- Normalizer
public class MaxNormalizer extends java.lang.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] / abs(max[i])
-
-
Constructor Summary
Constructors Constructor and Description MaxNormalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidnormalize(DataSet dataSet)Normalize specified data setdouble[]normalizeMax(double[] vector, double[] max)
-
-
-
Method Detail
-
normalize
public void normalize(DataSet dataSet)
Description copied from interface:NormalizerNormalize specified data set- Specified by:
normalizein interfaceNormalizer- Parameters:
dataSet- data set to normalize
-
normalizeMax
public double[] normalizeMax(double[] vector, double[] max)
-
-
DMelt 3.0 © DataMelt by jWork.ORG