C# Class AIMA.Core.Learning.Neural.Perceptron

Inheritance: FunctionApproximator
Show file Open project: PaulMineau/AIMA.Net Class Usage Examples

Public Methods

Method Description
Perceptron ( int numberOfNeurons, int numberOfInputs ) : System
predict ( NNExample nne ) : Vector
processError ( Vector error ) : void
processInput ( Vector input ) : Vector
testOnDataSet ( NNDataSet nnds ) : int[]
trainOn ( NNDataSet innds, int numberofEpochs ) : void

Method Details

Perceptron() public method

public Perceptron ( int numberOfNeurons, int numberOfInputs ) : System
numberOfNeurons int
numberOfInputs int
return System

predict() public method

public predict ( NNExample nne ) : Vector
nne NNExample
return AIMA.Core.Util.Math.Vector

processError() public method

public processError ( Vector error ) : void
error AIMA.Core.Util.Math.Vector
return void

processInput() public method

public processInput ( Vector input ) : Vector
input AIMA.Core.Util.Math.Vector
return AIMA.Core.Util.Math.Vector

testOnDataSet() public method

public testOnDataSet ( NNDataSet nnds ) : int[]
nnds NNDataSet
return int[]

trainOn() public method

public trainOn ( NNDataSet innds, int numberofEpochs ) : void
innds NNDataSet
numberofEpochs int
return void