C# Class Encog.Neural.Flat.Train.Prop.TrainFlatNetworkSCG

Train a network using scaled conjugate gradient.
Inheritance: TrainFlatNetworkProp
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
CalculateGradients ( ) : void

Calculate the gradients. They are normalized as well.

InitOthers ( ) : void

Not needed for this training type.

Iteration ( ) : void

Perform one iteration.

TrainFlatNetworkSCG ( FlatNetwork network, IMLDataSet training ) : System

Construct the training object.

UpdateWeight ( double gradients, double lastGradient, int index ) : double

Update the weights.

Private Methods

Méthode Description
Init ( ) : void

Calculate the starting set of gradients.

Method Details

CalculateGradients() public méthode

Calculate the gradients. They are normalized as well.
public CalculateGradients ( ) : void
Résultat void

InitOthers() public méthode

Not needed for this training type.
public InitOthers ( ) : void
Résultat void

Iteration() public méthode

Perform one iteration.
public Iteration ( ) : void
Résultat void

TrainFlatNetworkSCG() public méthode

Construct the training object.
public TrainFlatNetworkSCG ( FlatNetwork network, IMLDataSet training ) : System
network FlatNetwork The network to train.
training IMLDataSet The training data to use.
Résultat System

UpdateWeight() public méthode

Update the weights.
public UpdateWeight ( double gradients, double lastGradient, int index ) : double
gradients double The current gradients.
lastGradient double The last gradients.
index int The weight index being updated.
Résultat double