C# Class Encog.ML.Train.Strategy.ResetStrategy

The reset strategy will reset the weights if the neural network fails to fall below a specified error by a specified number of cycles. This can be useful to throw out initially "bad/hard" random initializations of the weight matrix.
Inheritance: IStrategy
Afficher le fichier Open project: encog/encog-silverlight-core

Méthodes publiques

Méthode Description
Init ( IMLTrain train ) : void

Initialize this strategy.

PostIteration ( ) : void

Called just after a training iteration.

PreIteration ( ) : void

Called just before a training iteration.

ResetStrategy ( double required, int cycles ) : Encog.Neural.Networks.Training

Construct a reset strategy. The error rate must fall below the required rate in the specified number of cycles, or the neural network will be reset to random weights and bias values.

Method Details

Init() public méthode

Initialize this strategy.
public Init ( IMLTrain train ) : void
train IMLTrain The training algorithm.
Résultat void

PostIteration() public méthode

Called just after a training iteration.
public PostIteration ( ) : void
Résultat void

PreIteration() public méthode

Called just before a training iteration.
public PreIteration ( ) : void
Résultat void

ResetStrategy() public méthode

Construct a reset strategy. The error rate must fall below the required rate in the specified number of cycles, or the neural network will be reset to random weights and bias values.
public ResetStrategy ( double required, int cycles ) : Encog.Neural.Networks.Training
required double The required error rate.
cycles int The number of cycles to reach that rate.
Résultat Encog.Neural.Networks.Training