BayesOpt
bayesopt::MeanModel Class Reference

Public Member Functions

 MeanModel (size_t dim, Parameters parameters)
 
ParametricFunctiongetMeanFunc ()
 
void setParameters (const vectord &theta)
 
vectord getParameters ()
 
size_t nParameters ()
 
vectord getFeatures (const vectord &x)
 
void getFeatures (const vectord &x, vectord &kx)
 
size_t nFeatures ()
 
void setPoints (const vecOfvec &x)
 
void addNewPoint (const vectord &x)
 
vectord muTimesFeat ()
 
double muTimesFeat (const vectord &x)
 
void setMean (const vectord &muv, const vectord &smu, std::string m_name, size_t dim)
 Select the parametric part of the surrogate process. More...
 
void setMean (MeanParameters mean, size_t dim)
 Wrapper of setMean for the C++ structure.
 

Public Attributes

matrixd mFeatM
 Value of the mean features at the input points.
 

Private Attributes

vectord mMu
 Mean of the parameters of the mean function.
 
vectord mS_Mu
 Variance of the params of the mean function W=mS_Mu*I.
 
boost::scoped_ptr< ParametricFunctionmMean
 Pointer to mean function.
 

Detailed Description

Definition at line 116 of file mean_functors.hpp.

Member Function Documentation

◆ setMean()

void bayesopt::MeanModel::setMean ( const vectord &  muv,
const vectord &  smu,
std::string  m_name,
size_t  dim 
)

Select the parametric part of the surrogate process.

Parameters
muvmean function parameters
smustd function parameters
m_namemean function name
dimnumber of input dimensions
Returns
error_code

Definition at line 65 of file mean_functors.cpp.

References bayesopt::MeanFactory::create().


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