public interface TrainingLoopController
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)
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()