C# Class Encog.Neural.Networks.Training.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 ( ITrain 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 ) : System

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 thresholds.

Method Details

Init() public méthode

Initialize this strategy.
public Init ( ITrain train ) : void
train ITrain 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 thresholds.
public ResetStrategy ( double required, int cycles ) : System
required double The required error rate.
cycles int The number of cycles to reach that rate.
Résultat System