26 #ifndef __GAUSS_DISTRIBUTION_HPP__ 27 #define __GAUSS_DISTRIBUTION_HPP__ 29 #include <boost/math/distributions/normal.hpp> 45 { mean_ = mean; std_ = std; };
54 x = (x - mean_) / std_;
55 return boost::math::pdf(d_,x);
91 double getMean() {
return mean_; };
92 double getStd() {
return std_; };
96 boost::math::normal d_;
double negativeExpectedImprovement(double min, size_t g)
Expected Improvement algorithm for minimization.
void setMeanAndStd(double mean, double std)
Sets the mean and std of the distribution.
Namespace of the library interface.
Interface for probability models.
double negativeProbabilityOfImprovement(double min, double epsilon)
Probability of improvement algorithm for minimization.
double sample_query()
Sample outcome acording to the marginal distribution at the query point.
double pdf(double x)
Probability density function.
double lowerConfidenceBound(double beta)
Lower confindence bound.