|
| counter |
| counts how many times training is not getting better
|
|
| best_result |
| saves best training result
|
|
Using class to stop training early if it's not getting better
Definition at line 15 of file relations.py.
◆ __init__()
init class
Definition at line 18 of file relations.py.
23 self.best_result = np.inf
◆ check()
Check if validation result is better than the best validation result.
Decide if training should be continued.
Definition at line 25 of file relations.py.
The documentation for this class was generated from the following file: