This structure contains the optimization algorithm results.
More...
#include <optimization_algorithm.h>
Public Member Functions | |
string | write_stopping_condition () const |
Return a string with the stopping condition of the Results. | |
string | object_to_string () const |
Returns a string representation of the results structure. More... | |
void | save (const string &) const |
Matrix< string > | write_final_results (const size_t &) const |
Returns a default(empty) string matrix with the final results from training. | |
void | resize_training_history (const size_t &) |
Resizes training history variables. More... | |
Matrix< string > | write_final_results (const int &precision=3) const |
Writes final results of the training. | |
Public Attributes | |
StoppingCondition | stopping_condition |
Stopping condition of the algorithm. | |
Vector< double > | training_error_history |
History of the loss function loss over the training iterations. | |
Vector< double > | selection_error_history |
History of the selection error over the training iterations. | |
Vector< double > | final_parameters |
Final neural network parameters vector. | |
double | final_parameters_norm |
Final neural network parameters norm. | |
double | final_training_error |
Final loss function evaluation. | |
double | final_selection_error |
Final selection error. | |
double | final_gradient_norm |
Final gradient norm. | |
double | elapsed_time |
Elapsed time of the training process. | |
size_t | epochs_number |
Maximum number of training iterations. | |
string | stopping_criterion |
Stopping criterion. | |
This structure contains the optimization algorithm results.
Definition at line 58 of file optimization_algorithm.h.
string object_to_string | ( | ) | const |
Returns a string representation of the results structure.
Returns a string representation of the current quasi-Newton method results structure.
Definition at line 498 of file optimization_algorithm.cpp.
void resize_training_history | ( | const size_t & | new_size | ) |
Resizes training history variables.
Resizes all the training history variables.
new_size | Size of training history variables. |
Definition at line 489 of file optimization_algorithm.cpp.
void save | ( | const string & | ) | const |
Definition at line 526 of file optimization_algorithm.cpp.