BayesOpt
bayesopt::MeanFactory Class Reference

Factory model for parametric 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 <mean_functors.hpp>

+ Collaboration diagram for bayesopt::MeanFactory:

Public Member Functions

ParametricFunctioncreate (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 ParametricFunction *(* create_func_definition) ()
 

Private Attributes

std::map< std::string, MeanFactory::create_func_definition > registry
 

Detailed Description

Factory model for parametric 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 103 of file mean_functors.hpp.

Member Function Documentation

◆ create()

ParametricFunction * bayesopt::MeanFactory::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 31 of file mean_functors.cpp.

References bayesopt::utils::parseExpresion().

Referenced by bayesopt::MeanModel::setMean().


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