public interface TrainingLoopController
Training Loop controller for iterative updates
Modifier and Type | Method and Description |
---|---|
int |
getIterationCount()
Get the current iteration count.
|
boolean |
keepTraining(double error)
Query whether the computation should stop.
|
boolean keepTraining(double error)
Query whether the computation should stop.
error
- The error of the last iteration completed (use {Gustav Lindqvist Double#POSITIVE_INFINITY} before the first iteration).false
if the computation is finished.int getIterationCount()
Get the current iteration count.