_kernel_function=KernelFunction(_dim_in);// the cost of building a functor should be relatively low
}else{
assert(bl_sample.size()==_dim_in);
}
_bl_samples.push_back(bl_sample);
_noise=noise;
if(!_samples.empty()){
this->_compute_bl_kernel();
HyperParamsOptimizer()(*this);
}
}
/**
\rst
return :math:`\mu`, :math:`\sigma^2` (unormalized). If there is no sample, return the value according to the mean function. Using this method instead of separate calls to mu() and sigma() is more efficient because some computations are shared between mu() and sigma().
\endrst
*/
\\rst
return :math:`\\mu`, :math:`\\sigma^2` (unormalized). If there is no sample, return the value according to the mean function. Using this method instead of separate calls to mu() and sigma() is more efficient because some computations are shared between mu() and sigma().