reset_loss_log: Reset log for loss information

View source: R/utils_log.R

reset_loss_logR Documentation

Reset log for loss information

Description

This function writes an empty log file for loss information.

Usage

reset_loss_log(log_path, epochs)

Arguments

log_path

string Path to the log file.

epochs

int Number of epochs for the complete training process.

Value

Function does nothing return. It writes a log file at the given location. The file is a .csv file that contains three rows. The first row takes the value for the training, the second for the validation, and the third row for the test data. The columns represent epochs.

See Also

Other Utils Log Developers: cat_message(), clean_pytorch_log_transformers(), output_message(), print_message(), read_log(), read_loss_log(), reset_log(), write_log()


aifeducation documentation built on Nov. 19, 2025, 5:08 p.m.