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