org.encog.ml.train.strategy.end
public class EndMinutesStrategy extends Object implements EndTrainingStrategy
| Constructor and Description |
|---|
EndMinutesStrategy(int minutes) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMinutes() |
int |
getMinutesLeft() |
void |
init(MLTrain train)
Initialize this strategy.
|
void |
postIteration()
Called just after a training iteration.
|
void |
preIteration()
Called just before a training iteration.
|
boolean |
shouldStop() |
public boolean shouldStop()
shouldStop in interface EndTrainingStrategypublic void init(MLTrain train)
public void postIteration()
postIteration in interface Strategypublic void preIteration()
preIteration in interface Strategypublic int getMinutesLeft()
public int getMinutes()
Copyright © 2014. All Rights Reserved.