AIMA.Core.Learning.Neural.NNExample.getInput C# (CSharp) Method

getInput() public method

public getInput ( ) : Vector
return AIMA.Core.Util.Math.Vector
        public Vector getInput()
        {
            Vector v = new Vector(normalizedInput);
            return v;

        }

Usage Example

Example #1
0
 public void trainOn(NNDataSet innds, int numberofEpochs)
 {
     for (int i = 0; i < numberofEpochs; i++)
     {
         innds.refreshDataset();
         while (innds.hasMoreExamples())
         {
             NNExample nne = innds.getExampleAtRandom();
             processInput(nne.getInput());
             Vector error = layer.errorVectorFrom(nne.getTarget());
             processError(error);
         }
     }
 }
All Usage Examples Of AIMA.Core.Learning.Neural.NNExample::getInput