Often, one wants to stop training a network once it has reached some criterion of performance. This can be done by setting the criterion values associated with a statistic value. All statistic values are represented by a StatVal object, which has fields for representing the stopping criterion. The criterion is represented with a relational operator (less than, equal to, etc.) and a comparison value. The fields are as follows:
float value
bool flag
Relation rel
value
and val
.
float val
value
with.
int cnt