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

Mostra file Open project: PaulMineau/AIMA.Net Class Usage Examples

Public Methods

Method Description
Layer ( Matrix weightMatrix, Vector biasVector, ActivationFunction af ) : System
Layer ( int numberOfNeurons, int numberOfInputs, double lowerLimitForWeights, double upperLimitForWeights, ActivationFunction af ) : System
acceptNewBiasUpdate ( Vector biasUpdate ) : void
acceptNewWeightUpdate ( Matrix weightUpdate ) : void
errorVectorFrom ( Vector target ) : Vector
feedForward ( Vector inputVector ) : Vector
getActivationFunction ( ) : ActivationFunction
getBiasVector ( ) : Vector
getLastActivationValues ( ) : Vector
getLastBiasUpdateVector ( ) : Vector
getLastInducedField ( ) : Vector
getLastInputValues ( ) : Vector
getLastWeightUpdateMatrix ( ) : Matrix
getPenultimateBiasUpdateVector ( ) : Vector
getPenultimateWeightUpdateMatrix ( ) : Matrix
getWeightMatrix ( ) : Matrix
numberOfInputs ( ) : int
numberOfNeurons ( ) : int
setLastBiasUpdateVector ( Vector v ) : void
setLastWeightUpdateMatrix ( Matrix m ) : void
setPenultimateBiasUpdateVector ( Vector v ) : void
setPenultimateWeightUpdateMatrix ( Matrix m ) : void
updateBiases ( ) : void
updateWeights ( ) : void

Private Methods

Method Description
initializeMatrix ( Matrix aMatrix, double lowerLimit, double upperLimit ) : void
initializeVector ( Vector aVector, double lowerLimit, double upperLimit ) : void

Method Details

Layer() public method

public Layer ( Matrix weightMatrix, Vector biasVector, ActivationFunction af ) : System
weightMatrix Matrix
biasVector AIMA.Core.Util.Math.Vector
af ActivationFunction
return System

Layer() public method

public Layer ( int numberOfNeurons, int numberOfInputs, double lowerLimitForWeights, double upperLimitForWeights, ActivationFunction af ) : System
numberOfNeurons int
numberOfInputs int
lowerLimitForWeights double
upperLimitForWeights double
af ActivationFunction
return System

acceptNewBiasUpdate() public method

public acceptNewBiasUpdate ( Vector biasUpdate ) : void
biasUpdate AIMA.Core.Util.Math.Vector
return void

acceptNewWeightUpdate() public method

public acceptNewWeightUpdate ( Matrix weightUpdate ) : void
weightUpdate Matrix
return void

errorVectorFrom() public method

public errorVectorFrom ( Vector target ) : Vector
target AIMA.Core.Util.Math.Vector
return AIMA.Core.Util.Math.Vector

feedForward() public method

public feedForward ( Vector inputVector ) : Vector
inputVector AIMA.Core.Util.Math.Vector
return AIMA.Core.Util.Math.Vector

getActivationFunction() public method

public getActivationFunction ( ) : ActivationFunction
return ActivationFunction

getBiasVector() public method

public getBiasVector ( ) : Vector
return AIMA.Core.Util.Math.Vector

getLastActivationValues() public method

public getLastActivationValues ( ) : Vector
return AIMA.Core.Util.Math.Vector

getLastBiasUpdateVector() public method

public getLastBiasUpdateVector ( ) : Vector
return AIMA.Core.Util.Math.Vector

getLastInducedField() public method

public getLastInducedField ( ) : Vector
return AIMA.Core.Util.Math.Vector

getLastInputValues() public method

public getLastInputValues ( ) : Vector
return AIMA.Core.Util.Math.Vector

getLastWeightUpdateMatrix() public method

public getLastWeightUpdateMatrix ( ) : Matrix
return Matrix

getPenultimateBiasUpdateVector() public method

public getPenultimateBiasUpdateVector ( ) : Vector
return AIMA.Core.Util.Math.Vector

getPenultimateWeightUpdateMatrix() public method

public getPenultimateWeightUpdateMatrix ( ) : Matrix
return Matrix

getWeightMatrix() public method

public getWeightMatrix ( ) : Matrix
return Matrix

numberOfInputs() public method

public numberOfInputs ( ) : int
return int

numberOfNeurons() public method

public numberOfNeurons ( ) : int
return int

setLastBiasUpdateVector() public method

public setLastBiasUpdateVector ( Vector v ) : void
v AIMA.Core.Util.Math.Vector
return void

setLastWeightUpdateMatrix() public method

public setLastWeightUpdateMatrix ( Matrix m ) : void
m Matrix
return void

setPenultimateBiasUpdateVector() public method

public setPenultimateBiasUpdateVector ( Vector v ) : void
v AIMA.Core.Util.Math.Vector
return void

setPenultimateWeightUpdateMatrix() public method

public setPenultimateWeightUpdateMatrix ( Matrix m ) : void
m Matrix
return void

updateBiases() public method

public updateBiases ( ) : void
return void

updateWeights() public method

public updateWeights ( ) : void
return void