actsnclass.DataBase.save_metrics
- DataBase.save_metrics(loop: int, output_metrics_file: str, epoch: int, batch=1)
Save current metrics to file.
If loop == 0 the ‘output_metrics_file’ will be created or overwritten. Otherwise results will be added to an existing ‘output_metrics file’.
- Parameters:
loop (int) – Number of learning loops finished at this stage.
output_metrics_file (str) – Full path to file to store metrics results.
batch (int) – Number of queries in each loop.
epoch (int) – Days since the beginning of the survey.