C# Класс 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.
Наследование: IStrategy
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Init() публичный Метод

Initialize this strategy.
public Init ( IMLTrain train ) : void
train IMLTrain The training algorithm.
Результат void

PostIteration() публичный Метод

Called just after a training iteration.
public PostIteration ( ) : void
Результат void

PreIteration() публичный Метод

Called just before a training iteration.
public PreIteration ( ) : void
Результат void

ResetStrategy() публичный Метод

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.
Результат Encog.Neural.Networks.Training