24 #ifndef _CRITERIA_LCB_HPP_ 25 #define _CRITERIA_LCB_HPP_ 45 void setParameters(
const vectord ¶ms)
46 { mBeta = params(0); };
48 size_t nParameters() {
return 1;};
50 double operator() (
const vectord &x)
54 std::string name() {
return "cLCB";};
71 void setParameters(
const vectord ¶ms)
72 { mCoef = params(0); };
74 size_t nParameters() {
return 1;};
75 void reset() { nCalls = 1; mCoef = 5.0;};
76 double operator() (
const vectord &x)
78 size_t nDims = x.size();
80 double beta = sqrt(2*log(static_cast<double>(nCalls*nCalls))*(nDims+1)
81 + log(static_cast<double>(nDims))*nDims*mCoef);
85 void update(
const vectord &x) { ++nCalls; }
87 std::string name() {
return "cLCBa";};
virtual double lowerConfidenceBound(double beta=1)=0
Lower confindence bound.
Namespace of the library interface.
Abstract class to implement Bayesian regressors.
virtual ProbabilityDistribution * prediction(const vectord &query)=0
Function that returns the prediction of the GP for a query point in the hypercube [0...
Abstract interface for criteria functors.
Abstract and factory modules for criteria.
Lower (upper) confidence bound using Srinivas annealing .
Lower (upper) confidence bound criterion by [Cox and John, 1992].