|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.data.basic.BasicNeuralDataPair
public class BasicNeuralDataPair
A basic implementation of the NeuralDataPair interface. This implementation simply holds and input and ideal NeuralData object. For supervised training both input and ideal should be specified. For unsupervised training the input property should be valid, however the ideal property should contain null.
| Constructor Summary | |
|---|---|
BasicNeuralDataPair(NeuralData input)
Construct the object with only input. |
|
BasicNeuralDataPair(NeuralData input,
NeuralData ideal)
Construct a BasicNeuralDataPair class with the specified input and ideal values. |
|
| Method Summary | |
|---|---|
NeuralData |
getIdeal()
Get the expected results. |
NeuralData |
getInput()
Get the input data. |
boolean |
isSupervised()
Determine if this data pair is supervised. |
java.lang.String |
toString()
Convert the object to a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicNeuralDataPair(NeuralData input)
input - The input to the neural network.
public BasicNeuralDataPair(NeuralData input,
NeuralData ideal)
input - The input to the neural network.ideal - The expected results from the neural network.| Method Detail |
|---|
public NeuralData getIdeal()
getIdeal in interface NeuralDataPairpublic NeuralData getInput()
getInput in interface NeuralDataPairpublic boolean isSupervised()
isSupervised in interface NeuralDataPairpublic java.lang.String toString()
toString in class java.lang.Object
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||