|
OpenNN
Open-source neural networks library
|
Backprop scratch state specific to Levenberg-Marquardt (per-sample errors, Jacobian, Hessian approx). More...
#include <levenberg_marquardt_algorithm.h>
Public Member Functions | |
| BackPropagationLM (const Index=0, Loss *=nullptr) | |
| Constructs LM backprop state sized for the given sample count and loss. | |
| virtual | ~BackPropagationLM ()=default |
| void | set (const Index=0, Loss *=nullptr) |
| Resizes the LM backprop state for the given sample count and loss. | |
Public Attributes | |
| Index | samples_number = 0 |
| VectorR | output_deltas |
| Shape | output_delta_dimensions |
| Loss * | loss = nullptr |
| float | error |
| float | regularization = 0.0f |
| float | loss_value = 0.0f |
| VectorR | errors |
| VectorR | squared_errors |
| MatrixR | squared_errors_jacobian |
| VectorR | gradient |
| MatrixR | hessian |
Backprop scratch state specific to Levenberg-Marquardt (per-sample errors, Jacobian, Hessian approx).
| opennn::BackPropagationLM::BackPropagationLM | ( | const Index | = 0, |
| Loss * | = nullptr ) |
Constructs LM backprop state sized for the given sample count and loss.
|
virtualdefault |
| void opennn::BackPropagationLM::set | ( | const Index | = 0, |
| Loss * | = nullptr ) |
Resizes the LM backprop state for the given sample count and loss.
| float opennn::BackPropagationLM::error |
| VectorR opennn::BackPropagationLM::errors |
| VectorR opennn::BackPropagationLM::gradient |
| MatrixR opennn::BackPropagationLM::hessian |
| Loss* opennn::BackPropagationLM::loss = nullptr |
| float opennn::BackPropagationLM::loss_value = 0.0f |
| Shape opennn::BackPropagationLM::output_delta_dimensions |
| VectorR opennn::BackPropagationLM::output_deltas |
| float opennn::BackPropagationLM::regularization = 0.0f |
| Index opennn::BackPropagationLM::samples_number = 0 |
| VectorR opennn::BackPropagationLM::squared_errors |
| MatrixR opennn::BackPropagationLM::squared_errors_jacobian |