org.encog.ml.train.strategy
Interface Strategy
-
- All Known Subinterfaces:
- EndTrainingStrategy
- All Known Implementing Classes:
- EarlyStoppingStrategy, EndIterationsStrategy, EndMaxErrorStrategy, EndMinutesStrategy, Greedy, HybridStrategy, RegularizationStrategy, RequiredImprovementStrategy, ResetStrategy, SmartLearningRate, SmartMomentum, StoppingStrategy, StopTrainingStrategy
public interface StrategyTraining strategies can be added to training algorithms. Training strategies allow different additional logic to be added to an existing training algorithm. There are a number of different training strategies that can perform various tasks, such as adjusting the learning rate or momentum, or terminating training when improvement diminishes. Other strategies are provided as well.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidinit(MLTrain train)Initialize this strategy.voidpostIteration()Called just after a training iteration.voidpreIteration()Called just before a training iteration.
-
-
-
Method Detail
-
init
void init(MLTrain train)
Initialize this strategy.- Parameters:
train- The training algorithm.
-
preIteration
void preIteration()
Called just before a training iteration.
-
postIteration
void postIteration()
Called just after a training iteration.
-
-
DMelt 3.0 © DataMelt by jWork.ORG