BayesOpt
bayesopt::KernelFactory Class Reference

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

Kernelcreate (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
 

Detailed Description

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.

Member Function Documentation

◆ create()

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/.

Parameters
namestring with the kernel structure
imput_dimnumber of input dimensions
Returns
kernel pointer

Definition at line 87 of file kernel_functors.cpp.

References bayesopt::Parameters::kernel, and bayesopt::utils::parseExpresion().

Referenced by bayesopt::KernelModel::setKernel().


The documentation for this class was generated from the following files: