C# Класс Encog.Neural.Networks.Training.BasicTraining

An abstract class that implements basic training for most training algorithms. Specifically training strategies can be added to enhance the training.
Наследование: ITrain
Показать файл Открыть проект

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

Метод Описание
AddStrategy ( IStrategy strategy ) : void

Training strategies can be added to improve the training results. There are a number to choose from, and several can be used at once.

FinishTraining ( ) : void

Should be called after training has completed and the iteration method will not be called any further.

Iteration ( ) : void

Perform one iteration of training.

Iteration ( int count ) : void

Perform the specified number of training iterations. This is a basic implementation that just calls iteration the specified number of times. However, some training methods, particularly with the GPU, benefit greatly by calling with higher numbers than 1.

PostIteration ( ) : void

Call the strategies after an iteration.

PreIteration ( ) : void

Call the strategies before an iteration.

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

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

Training strategies can be added to improve the training results. There are a number to choose from, and several can be used at once.
public AddStrategy ( IStrategy strategy ) : void
strategy IStrategy The strategy to add.
Результат void

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

Should be called after training has completed and the iteration method will not be called any further.
public FinishTraining ( ) : void
Результат void

Iteration() публичный абстрактный Метод

Perform one iteration of training.
public abstract Iteration ( ) : void
Результат void

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

Perform the specified number of training iterations. This is a basic implementation that just calls iteration the specified number of times. However, some training methods, particularly with the GPU, benefit greatly by calling with higher numbers than 1.
public Iteration ( int count ) : void
count int The number of training iterations.
Результат void

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

Call the strategies after an iteration.
public PostIteration ( ) : void
Результат void

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

Call the strategies before an iteration.
public PreIteration ( ) : void
Результат void