aima.learning.neural
Class NNExample

java.lang.Object
  extended by aima.learning.neural.NNExample

public class NNExample
extends java.lang.Object


Constructor Summary
NNExample(java.util.List<java.lang.Double> normalizedInput, java.util.List<java.lang.Double> normalizedTarget)
           
 
Method Summary
 NNExample copyExample()
           
 Vector getInput()
           
 Vector getTarget()
           
 boolean isCorrect(Vector prediction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NNExample

public NNExample(java.util.List<java.lang.Double> normalizedInput,
                 java.util.List<java.lang.Double> normalizedTarget)
Method Detail

copyExample

public NNExample copyExample()

getInput

public Vector getInput()

getTarget

public Vector getTarget()

isCorrect

public boolean isCorrect(Vector prediction)