|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.util.NormalizeInput
public class NormalizeInput
NormalizeInput: Input into a Self Organizing Map must be normalized.
| Nested Class Summary | |
|---|---|
static class |
NormalizeInput.NormalizationType
This class support two normalization types. |
| Constructor Summary | |
|---|---|
NormalizeInput(NeuralData input,
NormalizeInput.NormalizationType type)
Normalize an input array into a matrix. |
|
| Method Summary | |
|---|---|
protected void |
calculateFactors(NeuralData input)
Determine both the normalization factor and the synthetic input for the given input. |
protected Matrix |
createInputMatrix(NeuralData pattern,
double extra)
Create an input matrix that has enough space to hold the extra synthetic input. |
Matrix |
getInputMatrix()
Get the resulting input matrix. |
double |
getNormfac()
The normalization factor. |
double |
getSynth()
The synthetic input. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NormalizeInput(NeuralData input,
NormalizeInput.NormalizationType type)
input - The input array to be normalized.type - What type of normalization to use.| Method Detail |
|---|
protected void calculateFactors(NeuralData input)
input - The input to normalize.
protected Matrix createInputMatrix(NeuralData pattern,
double extra)
pattern - The input pattern to create.extra - The synthetic input.
public Matrix getInputMatrix()
public double getNormfac()
public double getSynth()
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||