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

Afficher le fichier Open project: PaulMineau/AIMA.Net Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
initializeMatrix ( Matrix aMatrix, double lowerLimit, double upperLimit ) : void
initializeVector ( Vector aVector, double lowerLimit, double upperLimit ) : void

Method Details

Layer() public méthode

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

Layer() public méthode

public Layer ( int numberOfNeurons, int numberOfInputs, double lowerLimitForWeights, double upperLimitForWeights, ActivationFunction af ) : System
numberOfNeurons int
numberOfInputs int
lowerLimitForWeights double
upperLimitForWeights double
af ActivationFunction
Résultat System

acceptNewBiasUpdate() public méthode

public acceptNewBiasUpdate ( Vector biasUpdate ) : void
biasUpdate AIMA.Core.Util.Math.Vector
Résultat void

acceptNewWeightUpdate() public méthode

public acceptNewWeightUpdate ( Matrix weightUpdate ) : void
weightUpdate Matrix
Résultat void

errorVectorFrom() public méthode

public errorVectorFrom ( Vector target ) : Vector
target AIMA.Core.Util.Math.Vector
Résultat AIMA.Core.Util.Math.Vector

feedForward() public méthode

public feedForward ( Vector inputVector ) : Vector
inputVector AIMA.Core.Util.Math.Vector
Résultat AIMA.Core.Util.Math.Vector

getActivationFunction() public méthode

public getActivationFunction ( ) : ActivationFunction
Résultat ActivationFunction

getBiasVector() public méthode

public getBiasVector ( ) : Vector
Résultat AIMA.Core.Util.Math.Vector

getLastActivationValues() public méthode

public getLastActivationValues ( ) : Vector
Résultat AIMA.Core.Util.Math.Vector

getLastBiasUpdateVector() public méthode

public getLastBiasUpdateVector ( ) : Vector
Résultat AIMA.Core.Util.Math.Vector

getLastInducedField() public méthode

public getLastInducedField ( ) : Vector
Résultat AIMA.Core.Util.Math.Vector

getLastInputValues() public méthode

public getLastInputValues ( ) : Vector
Résultat AIMA.Core.Util.Math.Vector

getLastWeightUpdateMatrix() public méthode

public getLastWeightUpdateMatrix ( ) : Matrix
Résultat Matrix

getPenultimateBiasUpdateVector() public méthode

public getPenultimateBiasUpdateVector ( ) : Vector
Résultat AIMA.Core.Util.Math.Vector

getPenultimateWeightUpdateMatrix() public méthode

public getPenultimateWeightUpdateMatrix ( ) : Matrix
Résultat Matrix

getWeightMatrix() public méthode

public getWeightMatrix ( ) : Matrix
Résultat Matrix

numberOfInputs() public méthode

public numberOfInputs ( ) : int
Résultat int

numberOfNeurons() public méthode

public numberOfNeurons ( ) : int
Résultat int

setLastBiasUpdateVector() public méthode

public setLastBiasUpdateVector ( Vector v ) : void
v AIMA.Core.Util.Math.Vector
Résultat void

setLastWeightUpdateMatrix() public méthode

public setLastWeightUpdateMatrix ( Matrix m ) : void
m Matrix
Résultat void

setPenultimateBiasUpdateVector() public méthode

public setPenultimateBiasUpdateVector ( Vector v ) : void
v AIMA.Core.Util.Math.Vector
Résultat void

setPenultimateWeightUpdateMatrix() public méthode

public setPenultimateWeightUpdateMatrix ( Matrix m ) : void
m Matrix
Résultat void

updateBiases() public méthode

public updateBiases ( ) : void
Résultat void

updateWeights() public méthode

public updateWeights ( ) : void
Résultat void