|
|
lucid
0.0.1
Lifting-based Uncertain Control Invariant Dynamics
|
Optimise the kernel hyperparameters. More...
#include <Tuner.h>
Public Member Functions | |
| void | tune (Estimator &estimator, ConstMatrixRef training_inputs, ConstMatrixRef training_outputs) const |
| Optimise the kernel hyperparameters. | |
| void | tune_online (Estimator &estimator, ConstMatrixRef training_inputs, const OutputComputer &training_outputs) const |
| Optimise the kernel hyperparameters. | |
| virtual std::string | to_string () const |
| Obtain the string representation of this object. | |
Protected Member Functions | |
| virtual void | tune_impl (Estimator &estimator, ConstMatrixRef training_inputs, const OutputComputer &training_outputs) const =0 |
| Optimise the kernel hyperparameters. | |
Optimise the kernel hyperparameters.
Given a kernel, the optimiser finds the best hyperparameters for the kernel. The optimiser subclass determines the optimisation algorithm.
|
nodiscardvirtual |
Obtain the string representation of this object.
Reimplemented in lucid::GridSearchTuner, lucid::LbfgsTuner, and lucid::MedianHeuristicTuner.
| void lucid::Tuner::tune | ( | Estimator & | estimator, |
| ConstMatrixRef | training_inputs, | ||
| ConstMatrixRef | training_outputs ) const |
Optimise the kernel hyperparameters.
Starting from the initial guess, the optimiser finds the best hyperparameters for the kernel.
| estimator | estimator to optimise |
| training_inputs | training input data |
| training_outputs | training output data |
|
protectedpure virtual |
Optimise the kernel hyperparameters.
Starting from the initial guess, the optimiser finds the best hyperparameters for the kernel. It is up to the subclass to determine the optimisation algorithm used.
| estimator | estimator to optimise |
| training_inputs | training input data |
| training_outputs | training output data. It uses an OutputComputer to compute the outputs when needed |
Implemented in lucid::GridSearchTuner, lucid::LbfgsTuner, and lucid::MedianHeuristicTuner.
| void lucid::Tuner::tune_online | ( | Estimator & | estimator, |
| ConstMatrixRef | training_inputs, | ||
| const OutputComputer & | training_outputs ) const |
Optimise the kernel hyperparameters.
Starting from the initial guess, the optimiser finds the best hyperparameters for the kernel.
| estimator | estimator to optimise |
| training_inputs | training input data |
| training_outputs | training output data. It uses an OutputComputer to compute the outputs when needed |