OpenANN
1.1.0
An open source library for artificial neural networks.
|
The common interface of all optimization algorithms. More...
#include <Optimizer.h>
Public Member Functions | |
virtual | ~Optimizer () |
virtual void | setOptimizable (Optimizable &optimizable)=0 |
Pass the objective function. More... | |
virtual void | setStopCriteria (const StoppingCriteria &sc)=0 |
Pass the stop criteria. More... | |
virtual void | optimize ()=0 |
Optimize until the optimization meets the stop criteria. More... | |
virtual bool | step ()=0 |
Execute one optimization step. More... | |
virtual Eigen::VectorXd | result ()=0 |
Determine the best result. More... | |
virtual std::string | name ()=0 |
Get the name of the optimization algorithm. More... | |
The common interface of all optimization algorithms.
|
inlinevirtual |
|
pure virtual |
Get the name of the optimization algorithm.
Implemented in OpenANN::MBSGD, OpenANN::IPOPCMAES, OpenANN::LMA, OpenANN::LBFGS, and OpenANN::CG.
|
pure virtual |
Optimize until the optimization meets the stop criteria.
Implemented in OpenANN::MBSGD, OpenANN::IPOPCMAES, OpenANN::LMA, OpenANN::LBFGS, and OpenANN::CG.
|
pure virtual |
Determine the best result.
Implemented in OpenANN::MBSGD, OpenANN::IPOPCMAES, OpenANN::LMA, OpenANN::LBFGS, and OpenANN::CG.
|
pure virtual |
Pass the objective function.
optimizable | objective function, e. g. error function of an ANN |
Implemented in OpenANN::MBSGD, OpenANN::IPOPCMAES, OpenANN::LMA, OpenANN::LBFGS, and OpenANN::CG.
|
pure virtual |
Pass the stop criteria.
sc | the parameters used to stop the optimization |
Implemented in OpenANN::MBSGD, OpenANN::IPOPCMAES, OpenANN::LMA, OpenANN::LBFGS, and OpenANN::CG.
|
pure virtual |
Execute one optimization step.
Implemented in OpenANN::MBSGD, OpenANN::IPOPCMAES, OpenANN::LMA, OpenANN::LBFGS, and OpenANN::CG.