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

The reset strategy will reset the weights if the neural network fails to improve by the specified amount over a number of cycles.
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.

RequiredImprovementStrategy ( double required, double threshold, 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 bias values.

RequiredImprovementStrategy ( 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 bias values.

RequiredImprovementStrategy ( int cycles ) : System

Reset if there is not at least a 1% improvement for 5 cycles. Don't reset if below 10%.

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

RequiredImprovementStrategy() 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 RequiredImprovementStrategy ( double required, double threshold, int cycles ) : System
required double The required error rate.
threshold double The accepted threshold, don't reset if error is below this.
cycles int The number of cycles to reach that rate.
Résultat System

RequiredImprovementStrategy() 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 RequiredImprovementStrategy ( double required, int cycles ) : System
required double The required error rate.
cycles int The number of cycles to reach that rate.
Résultat System

RequiredImprovementStrategy() public méthode

Reset if there is not at least a 1% improvement for 5 cycles. Don't reset if below 10%.
public RequiredImprovementStrategy ( int cycles ) : System
cycles int
Résultat System