Belle II Software development
|
Public Member Functions | |
def | __init__ (self) |
def | check (self, cost) |
Public Attributes | |
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 20 of file relations.py.
def __init__ | ( | self | ) |
init class
Definition at line 23 of file relations.py.
def check | ( | self, | |
cost | |||
) |
Check if validation result is better than the best validation result. Decide if training should be continued.
Definition at line 30 of file relations.py.
best_result |
saves best training result
Definition at line 28 of file relations.py.
counter |
counts how many times training is not getting better
Definition at line 26 of file relations.py.