24 #ifndef _CRITERIA_EI_HPP_ 25 #define _CRITERIA_EI_HPP_ 47 void setParameters(
const vectord ¶ms)
48 { mExp =
static_cast<size_t>(params(0)); };
50 size_t nParameters() {
return 1;};
52 double operator() (
const vectord &x)
54 const double min = mProc->getValueAtMinimum();
58 std::string name() {
return "cEI";};
76 void setParameters(
const vectord ¶ms)
78 mExp =
static_cast<size_t>(params(0));
82 size_t nParameters() {
return 2;};
84 double operator() (
const vectord &x)
86 const double sigma = mProc->getSignalVariance();
87 const double min = mProc->getValueAtMinimum() - mBias/sigma;
88 return mProc->prediction(x)->negativeExpectedImprovement(min,mExp);
90 std::string name() {
return "cBEI";};
108 void setParameters(
const vectord ¶ms)
109 { mExp =
static_cast<size_t>(params(0)); };
111 size_t nParameters() {
return 1;};
112 void reset() { nCalls = 1; mExp = 10;};
113 double operator() (
const vectord &x)
116 const double min = mProc->getValueAtMinimum();
119 void update(
const vectord &x)
123 mExp =
static_cast<size_t>(ceil(mExp/2.0));
125 std::string name() {
return "cEIa";};
Namespace of the library interface.
Expected improvement criterion by Mockus .
Expected improvement criterion using Schonlau annealing. .
Abstract class to implement Bayesian regressors.
Interface for probability models.
virtual double negativeExpectedImprovement(double min, size_t g)=0
Expected Improvement algorithm for minimization.
Expected improvement criterion modification by Lizotte.
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.