Home
last modified time | relevance | path

Searched refs:accept_prob (Results 1 – 13 of 13) sorted by relevance

/dports/math/stan/stan-2.28.2/src/stan/mcmc/hmc/xhmc/
H A Dbase_xhmc.hpp107 double accept_prob = std::exp(log_sum_weight_subtree - log_sum_weight); in transition() local
108 if (this->rand_uniform_() < accept_prob) in transition()
120 double accept_prob = sum_metro_prob / static_cast<double>(n_leapfrog + 1); in transition() local
124 return sample(this->z_.q, -this->z_.V, accept_prob); in transition()
225 double accept_prob in build_tree() local
227 if (this->rand_uniform_() < accept_prob) in build_tree()
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/src/stan/mcmc/hmc/xhmc/
H A Dbase_xhmc.hpp146 double accept_prob in transition() local
148 if (this->rand_uniform_() < accept_prob) in transition()
160 double accept_prob in transition() local
165 return sample(this->z_.q, -this->z_.V, accept_prob); in transition()
272 double accept_prob in build_tree() local
274 if (this->rand_uniform_() < accept_prob) in build_tree()
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/src/stan/mcmc/hmc/nuts/
H A Dbase_nuts.hpp139 double accept_prob in transition() local
141 if (this->rand_uniform_() < accept_prob) in transition()
158 double accept_prob in transition() local
163 return sample(this->z_.q, -this->z_.V, accept_prob); in transition()
281 double accept_prob in build_tree() local
283 if (this->rand_uniform_() < accept_prob) in build_tree()
/dports/math/stan/stan-2.28.2/src/stan/mcmc/hmc/nuts/
H A Dbase_nuts.hpp166 double accept_prob = std::exp(log_sum_weight_subtree - log_sum_weight); in transition() local
167 if (this->rand_uniform_() < accept_prob) in transition()
199 double accept_prob = sum_metro_prob / static_cast<double>(n_leapfrog); in transition() local
203 return sample(this->z_.q, -this->z_.V, accept_prob); in transition()
329 double accept_prob in build_tree() local
331 if (this->rand_uniform_() < accept_prob) in build_tree()
/dports/math/stan/stan-2.28.2/src/stan/mcmc/hmc/nuts_classic/
H A Dbase_nuts_classic.hpp150 double accept_prob = util.sum_prob / static_cast<double>(util.n_tree); in transition() local
154 return sample(this->z_.q, -this->z_.V, accept_prob); in transition()
227 double accept_prob in build_tree() local
230 if (util.criterion && (this->rand_uniform_() < accept_prob)) in build_tree()
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/src/stan/mcmc/hmc/nuts_classic/
H A Dbase_nuts_classic.hpp149 double accept_prob = util.sum_prob / static_cast<double>(util.n_tree); in transition() local
153 return sample(this->z_.q, - this->z_.V, accept_prob); in transition()
226 double accept_prob = static_cast<double>(n2) / in build_tree() local
229 if ( util.criterion && (this->rand_uniform_() < accept_prob) ) in build_tree()
/dports/math/stan/stan-2.28.2/src/stan/mcmc/hmc/static_uniform/
H A Dbase_static_uniform.hpp86 double accept_prob = sum_metro_prob / static_cast<double>(L_); in transition() local
90 return sample(this->z_.q, -this->hamiltonian_.V(this->z_), accept_prob); in transition()
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/src/stan/mcmc/hmc/static_uniform/
H A Dbase_static_uniform.hpp91 double accept_prob = sum_metro_prob / static_cast<double>(L_); in transition() local
97 accept_prob); in transition()
/dports/science/py-dlib/dlib-19.22/dlib/image_processing/
H A Dshape_predictor_trainer.h552 const double accept_prob = std::exp(-dist/lambda); in randomly_generate_split_feature() local
553 if (accept_prob > rnd.get_random_double()) in randomly_generate_split_feature()
/dports/science/dlib-cpp/dlib-19.22/dlib/image_processing/
H A Dshape_predictor_trainer.h552 const double accept_prob = std::exp(-dist/lambda); in randomly_generate_split_feature() local
553 if (accept_prob > rnd.get_random_double()) in randomly_generate_split_feature()
/dports/science/py-OpenMC/openmc-0.12.2/src/
H A Dphysics.cpp991 double accept_prob = std::sqrt(beta_vn*beta_vn + beta_vt_sq - in sample_cxs_target_velocity() local
995 if (prn(seed) < accept_prob) break; in sample_cxs_target_velocity()
/dports/science/openmc/openmc-0.12.2/src/
H A Dphysics.cpp991 double accept_prob = std::sqrt(beta_vn*beta_vn + beta_vt_sq - in sample_cxs_target_velocity() local
995 if (prn(seed) < accept_prob) break; in sample_cxs_target_velocity()
/dports/biology/phyml/phyml-3.3.20200621/src/
H A Dspr.c293 phydbl accept_prob,u; in Spr_Subtree() local
321accept_prob = exp((tree->spr_list_one_edge[best_move_idx]->lnL - tree->best_lnL)/tree->annealing_t… in Spr_Subtree()
323 if(!(u > accept_prob)) apply_move = YES; in Spr_Subtree()