|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.core.learning.TrainingElement
org.neuroph.core.learning.SupervisedTrainingElement
public class SupervisedTrainingElement
Represents training element for supervised learning algorithms. Each supervised training element contains network input and desired network output.
Field Summary |
---|
Fields inherited from class org.neuroph.core.learning.TrainingElement |
---|
input, label |
Constructor Summary | |
---|---|
SupervisedTrainingElement(double[] input,
double[] desiredOutput)
Creates new training element with specified input and desired output vectors |
|
SupervisedTrainingElement(java.lang.String input,
java.lang.String desiredOutput)
Creates new training element with specified input and desired output vectors specifed as strings |
|
SupervisedTrainingElement(java.util.Vector<java.lang.Double> input,
java.util.Vector<java.lang.Double> desiredOutput)
Creates new training element with specified input and desired output vectors |
Method Summary | |
---|---|
java.util.Vector<java.lang.Double> |
getDesiredOutput()
Returns desired output for this training element |
void |
setDesiredOutput(java.util.Vector<java.lang.Double> desiredOutput)
Sets desired output vector for this training element |
Methods inherited from class org.neuroph.core.learning.TrainingElement |
---|
getInput, getLabel, setInput, setLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SupervisedTrainingElement(java.util.Vector<java.lang.Double> input, java.util.Vector<java.lang.Double> desiredOutput)
input
- input vectordesiredOutput
- desired output vectorpublic SupervisedTrainingElement(java.lang.String input, java.lang.String desiredOutput)
input
- input vector as space separated stringdesiredOutput
- desired output vector as space separated stringpublic SupervisedTrainingElement(double[] input, double[] desiredOutput)
input
- input arraydesiredOutput
- desired output arrayMethod Detail |
---|
public java.util.Vector<java.lang.Double> getDesiredOutput()
public void setDesiredOutput(java.util.Vector<java.lang.Double> desiredOutput)
desiredOutput
- desired output vector
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |