26 #ifndef __STUDENT_T_DISTRIBUTION_HPP__ 27 #define __STUDENT_T_DISTRIBUTION_HPP__ 30 #include <boost/math/distributions/students_t.hpp> 46 { mean_ = mean; std_ = std; };
54 boost::math::students_t new_d(dof);
65 x = (x - mean_) / std_;
66 return boost::math::pdf(d_,x);
102 double getMean() {
return mean_; };
103 double getStd() {
return std_; };
106 boost::math::students_t d_;
Namespace of the library interface.
Interface for probability models.
double lowerConfidenceBound(double beta)
Lower confindence bound.
void setMeanAndStd(double mean, double std)
Sets the mean and std of the distribution.
double negativeProbabilityOfImprovement(double min, double epsilon)
Probability of improvement algorithm for minimization.
void setDof(size_t dof)
Sets the degrees of freedom (dof) the distribution.
double negativeExpectedImprovement(double min, size_t g)
Expected Improvement algorithm for minimization.
double pdf(double x)
Probability density function.
double sample_query()
Sample outcome acording to the marginal distribution at the query point.