org.encog.ml.train.strategy.end
Class EndMaxErrorStrategy
- java.lang.Object
-
- org.encog.ml.train.strategy.end.EndMaxErrorStrategy
-
- All Implemented Interfaces:
- EndTrainingStrategy, Strategy
public class EndMaxErrorStrategy extends java.lang.Object implements EndTrainingStrategy
-
-
Constructor Summary
Constructors Constructor and Description EndMaxErrorStrategy(double maxError)
-
Method Summary
All Methods Instance Methods Concrete 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.booleanshouldStop()
-
-
-
Method Detail
-
shouldStop
public boolean shouldStop()
- Specified by:
shouldStopin interfaceEndTrainingStrategy- Returns:
- True if training should stop.
-
init
public void init(MLTrain train)
Initialize this strategy.
-
postIteration
public void postIteration()
Called just after a training iteration.- Specified by:
postIterationin interfaceStrategy
-
preIteration
public void preIteration()
Called just before a training iteration.- Specified by:
preIterationin interfaceStrategy
-
-
DMelt 3.0 © DataMelt by jWork.ORG