.. index:: pair: struct; gpr::bo::KramersRateConfig .. _doxid-structgpr_1_1bo_1_1_kramers_rate_config: struct gpr::bo::KramersRateConfig ================================= .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct KramersRateConfig { // fields int :target:`posterior_samples` = 2048; std::uint64_t :target:`seed` = 0; double :target:`beta` = 0.0; Eigen::VectorXd :ref:`diffusion`; double :target:`credible_mass` = 0.95; double :ref:`saddle_tolerance` = 1e-6; }; .. _details-structgpr_1_1bo_1_1_kramers_rate_config: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Fields ------ .. index:: pair: variable; diffusion .. _doxid-structgpr_1_1bo_1_1_kramers_rate_config_1a5c31505ad196fe7547b0532917add59a: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd diffusion Diagonal of the diffusion tensor, one positive entry per coordinate, each in the squared unit of its coordinate per time. .. index:: pair: variable; saddle_tolerance .. _doxid-structgpr_1_1bo_1_1_kramers_rate_config_1aa90971df666d0486af0a9110d87d51b8: .. ref-code-block:: cpp :class: doxyrest-title-code-block double saddle_tolerance = 1e-6 The saddle search converges when abs(l .\* grad F) <= saddle_tolerance \* sqrt(signal variance), with grad F the gradient of the posterior mean and l the length scales: a gradient in length-scale units relative to the prior standard deviation, which no unit of a coordinate changes.