C# Class Encog.ML.Train.BasicTraining

An abstract class that implements basic training for most training algorithms. Specifically training strategies can be added to enhance the training.
Inheritance: IMLTrain
Afficher le fichier Open project: encog/encog-silverlight-core

Méthodes publiques

Méthode Description
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

from Encog.ml.train.MLTrain

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.

Pause ( ) : TrainingContinuation

from Encog.ml.train.MLTrain

PostIteration ( ) : void

Call the strategies after an iteration.

PreIteration ( ) : void

Call the strategies before an iteration.

Resume ( TrainingContinuation state ) : void

from Encog.ml.train.MLTrain

Méthodes protégées

Méthode Description
BasicTraining ( TrainingImplementationType implementationType ) : System.Collections.Generic

Construct the object, specify the implementation type.

Method Details

AddStrategy() public méthode

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.
Résultat void

BasicTraining() protected méthode

Construct the object, specify the implementation type.
protected BasicTraining ( TrainingImplementationType implementationType ) : System.Collections.Generic
implementationType TrainingImplementationType
Résultat System.Collections.Generic

FinishTraining() public méthode

Should be called after training has completed and the iteration method will not be called any further.
public FinishTraining ( ) : void
Résultat void

Iteration() public abstract méthode

from Encog.ml.train.MLTrain
public abstract Iteration ( ) : void
Résultat void

Iteration() public méthode

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.
Résultat void

Pause() public abstract méthode

from Encog.ml.train.MLTrain
public abstract Pause ( ) : TrainingContinuation
Résultat Encog.Neural.Networks.Training.Propagation.TrainingContinuation

PostIteration() public méthode

Call the strategies after an iteration.
public PostIteration ( ) : void
Résultat void

PreIteration() public méthode

Call the strategies before an iteration.
public PreIteration ( ) : void
Résultat void

Resume() public abstract méthode

from Encog.ml.train.MLTrain
public abstract Resume ( TrainingContinuation state ) : void
state Encog.Neural.Networks.Training.Propagation.TrainingContinuation
Résultat void