1 #ifndef STAN__MCMC__VAR__ADAPTATION__BETA
2 #define STAN__MCMC__VAR__ADAPTATION__BETA
31 var = (n / (n + 5.0)) * var
32 + 1
e-3 * (5.0 / (n + 5.0)) * Eigen::VectorXd::Ones(var.size());
void add_sample(const Eigen::VectorXd &q)
bool end_adaptation_window()
void sample_variance(Eigen::VectorXd &var)
prob::welford_var_estimator estimator_
void compute_next_window()
double e()
Return the base of the natural logarithm.
unsigned int adapt_window_counter_
bool learn_variance(Eigen::VectorXd &var, const Eigen::VectorXd &q)