Loading...
Searching...
No Matches
training_result.h
Go to the documentation of this file.
42 void resize_training_error_history(const Index new_size) { training_error_history.conservativeResize(new_size); }
44 void resize_validation_error_history(const Index new_size) { validation_error_history.conservativeResize(new_size); }
Definition configuration.h:10
@ MaximumValidationErrorIncreases
Definition training_result.h:15
VectorR validation_error_history
Definition training_result.h:48
virtual ~TrainingResult()=default
Tensor< string, 2 > write_override_results(const Index=3) const
optional< Index > restored_epoch
Definition training_result.h:56
Index get_epochs_number() const
Definition training_result.h:32
float get_validation_error() const
void resize_training_error_history(const Index new_size)
Definition training_result.h:42
void print(const string &message={}) const
void save(const filesystem::path &) const
float get_training_error() const
TrainingResult(const Index=0)
VectorR training_error_history
Definition training_result.h:46
void resize_validation_error_history(const Index new_size)
Definition training_result.h:44
optional< StoppingCondition > stopping_condition
Definition training_result.h:38
string write_stopping_condition() const