![]() |
OpenANN
1.1.0
An open source library for artificial neural networks.
|
Conjugate Gradient. More...
#include <CG.h>
Inheritance diagram for OpenANN::CG:Public Member Functions | |
| CG () | |
| ~CG () | |
| virtual void | setOptimizable (Optimizable &opt) |
| Pass the objective function. More... | |
| virtual void | setStopCriteria (const StoppingCriteria &stop) |
| Pass the stop criteria. More... | |
| virtual bool | step () |
| Execute one optimization step. More... | |
| virtual void | optimize () |
| Optimize until the optimization meets the stop criteria. More... | |
| virtual Eigen::VectorXd | result () |
| Determine the best result. More... | |
| virtual std::string | name () |
| Get the name of the optimization algorithm. More... | |
Public Member Functions inherited from OpenANN::Optimizer | |
| virtual | ~Optimizer () |
Conjugate Gradient.
The nonlinear conjugate gradient method is a generalization of the conjugate gradient method that finds the minimum of a quadratic function.
| OpenANN::CG::CG | ( | ) |
| OpenANN::CG::~CG | ( | ) |
|
virtual |
Get the name of the optimization algorithm.
Implements OpenANN::Optimizer.
|
virtual |
Optimize until the optimization meets the stop criteria.
Implements OpenANN::Optimizer.
|
virtual |
Determine the best result.
Implements OpenANN::Optimizer.
|
virtual |
Pass the objective function.
| optimizable | objective function, e. g. error function of an ANN |
Implements OpenANN::Optimizer.
|
virtual |
Pass the stop criteria.
| sc | the parameters used to stop the optimization |
Implements OpenANN::Optimizer.
|
virtual |
Execute one optimization step.
Implements OpenANN::Optimizer.
1.8.4