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 EndTrainingStrategy
public void init(MLTrain train)
public void postIteration()
postIteration
in interface Strategy
public void preIteration()
preIteration
in interface Strategy
public int getMinutesLeft()
public int getMinutes()
Copyright © 2014. All Rights Reserved.