BayesOpt
|
Public Member Functions | |
GaussianDistribution (randEngine &eng) | |
void | setMeanAndStd (double mean, double std) |
Sets the mean and std of the distribution. | |
double | pdf (double x) |
Probability density function. More... | |
double | negativeExpectedImprovement (double min, size_t g) |
Expected Improvement algorithm for minimization. More... | |
double | lowerConfidenceBound (double beta) |
Lower confindence bound. More... | |
double | negativeProbabilityOfImprovement (double min, double epsilon) |
Probability of improvement algorithm for minimization. More... | |
double | sample_query () |
Sample outcome acording to the marginal distribution at the query point. More... | |
double | getMean () |
double | getStd () |
Public Member Functions inherited from bayesopt::ProbabilityDistribution | |
ProbabilityDistribution (randEngine &eng) | |
Private Attributes | |
boost::math::normal | d_ |
double | mean_ |
double | std_ |
Additional Inherited Members | |
Protected Attributes inherited from bayesopt::ProbabilityDistribution | |
randEngine & | mtRandom |
Definition at line 35 of file gauss_distribution.hpp.
|
virtual |
Lower confindence bound.
Can be seen as the inverse of the Upper confidence bound
beta | std coefficient (used for annealing) |
Implements bayesopt::ProbabilityDistribution.
Definition at line 53 of file gauss_distribution.cpp.
Referenced by pdf().
|
virtual |
Expected Improvement algorithm for minimization.
min | minimum value found |
g | exponent (used for annealing) |
Implements bayesopt::ProbabilityDistribution.
Definition at line 17 of file gauss_distribution.cpp.
Referenced by pdf().
|
virtual |
Probability of improvement algorithm for minimization.
min | minimum value found |
epsilon | minimum improvement margin |
Implements bayesopt::ProbabilityDistribution.
Definition at line 59 of file gauss_distribution.cpp.
Referenced by pdf().
|
inlinevirtual |
Probability density function.
x | query point |
Implements bayesopt::ProbabilityDistribution.
Definition at line 52 of file gauss_distribution.hpp.
References lowerConfidenceBound(), negativeExpectedImprovement(), negativeProbabilityOfImprovement(), and sample_query().
|
virtual |
Sample outcome acording to the marginal distribution at the query point.
Implements bayesopt::ProbabilityDistribution.
Definition at line 66 of file gauss_distribution.cpp.
Referenced by pdf().