BayesOpt
|
Public Member Functions | |
StudentTDistribution (randEngine &eng) | |
void | setMeanAndStd (double mean, double std) |
Sets the mean and std of the distribution. | |
void | setDof (size_t dof) |
Sets the degrees of freedom (dof) 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::students_t | d_ |
double | mean_ |
double | std_ |
size_t | dof_ |
Additional Inherited Members | |
Protected Attributes inherited from bayesopt::ProbabilityDistribution | |
randEngine & | mtRandom |
Definition at line 36 of file student_t_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 28 of file student_t_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 16 of file student_t_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 33 of file student_t_distribution.cpp.
Referenced by pdf().
|
inlinevirtual |
Probability density function.
x | query point |
Implements bayesopt::ProbabilityDistribution.
Definition at line 63 of file student_t_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 40 of file student_t_distribution.cpp.
Referenced by pdf().