A loss index composed of several terms, this structure represent the First Order for this function. More...
#include <loss_index.h>
Public Member Functions | |
FirstOrderLoss () | |
Default constructor. | |
FirstOrderLoss (const size_t &new_parameters_number) | |
void | set_parameters_number (const size_t &new_parameters_number) |
virtual | ~FirstOrderLoss () |
Destructor. | |
Public Attributes | |
double | loss |
Vector< double > | gradient |
A loss index composed of several terms, this structure represent the First Order for this function.
Set of loss value and gradient vector of the peformance function. A method returning this structure might be implemented more efficiently than the loss and gradient methods separately.
Definition at line 87 of file loss_index.h.
|
explicit |
Default constructor. Set of loss value and gradient vector of the peformance function. A method returning this structure might be implemented more efficiently than the loss and gradient methods separately.
Definition at line 1020 of file loss_index.cpp.
void set_parameters_number | ( | const size_t & | new_parameters_number | ) |
Set of loss value and gradient vector of the peformance function. A method returning this structure might be implemented more efficiently than the loss and gradient methods separately.
Definition at line 1038 of file loss_index.cpp.