|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.util.arrayutil.NormalizeArray
public class NormalizeArray
Normalization is the process where data is adjusted to be inside a range. This range is typically -1 to 1. For more information about normalization, refer to the following page. http://www.heatonresearch.com/content/really-simple-introduction- normalization This class is used to normalize an array. Sometimes you would like to normalize an array, rather than an entire CSV file. If you would like to normalize an entire CSV file, you should make use of the class NormalizeCSV.
Constructor Summary | |
---|---|
NormalizeArray()
Construct the object, default NormalizedHigh and NormalizedLow to 1 and -1. |
Method Summary | |
---|---|
double |
getNormalizedHigh()
|
double |
getNormalizedLow()
|
NormalizedField |
getStats()
|
double[] |
process(double[] inputArray)
Normalize the array. |
void |
setNormalizedHigh(double theNormalizedHigh)
Set the high value to normalize to. |
void |
setNormalizedLow(double theNormalizedLow)
Set the low value to normalize to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NormalizeArray()
Method Detail |
---|
public final double getNormalizedHigh()
public final double getNormalizedLow()
public final NormalizedField getStats()
public final double[] process(double[] inputArray)
inputArray
- The input array.
public final void setNormalizedHigh(double theNormalizedHigh)
theNormalizedHigh
- The high value to normalize to.public final void setNormalizedLow(double theNormalizedLow)
theNormalizedLow
- The low value to normalize to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |