|
BayesOpt
|
Factory model for kernel functions This factory is based on the libgp library by Manuel Blum https://bitbucket.org/mblum/libgp which follows the squeme of GPML by Rasmussen and Nickisch http://www.gaussianprocess.org/gpml/code/matlab/doc/. More...
#include <kernel_functors.hpp>
Collaboration diagram for bayesopt::KernelFactory:Public Member Functions | |
| Kernel * | create (std::string name, size_t input_dim) |
| Factory model for kernel functions This function is based on the libgp library by Manuel Blum https://bitbucket.org/mblum/libgp which follows the squeme of GPML by Rasmussen and Nickisch http://www.gaussianprocess.org/gpml/code/matlab/doc/. More... | |
Private Types | |
| typedef Kernel *(* | create_func_definition) () |
Private Attributes | |
| std::map< std::string, KernelFactory::create_func_definition > | registry |
Factory model for kernel functions This factory is based on the libgp library by Manuel Blum https://bitbucket.org/mblum/libgp which follows the squeme of GPML by Rasmussen and Nickisch http://www.gaussianprocess.org/gpml/code/matlab/doc/.
Definition at line 76 of file kernel_functors.hpp.
| Kernel * bayesopt::KernelFactory::create | ( | std::string | name, |
| size_t | input_dim | ||
| ) |
Factory model for kernel functions This function is based on the libgp library by Manuel Blum https://bitbucket.org/mblum/libgp which follows the squeme of GPML by Rasmussen and Nickisch http://www.gaussianprocess.org/gpml/code/matlab/doc/.
| name | string with the kernel structure |
| imput_dim | number of input dimensions |
Definition at line 87 of file kernel_functors.cpp.
References bayesopt::Parameters::kernel, and bayesopt::utils::parseExpresion().
Referenced by bayesopt::KernelModel::setKernel().