Struct nuts_rs::DiagAdaptExpSettings
source · [−]pub struct DiagAdaptExpSettings {
pub variance_decay: f64,
pub early_variance_decay: f64,
pub final_window: u64,
pub store_mass_matrix: bool,
pub window_switch_freq: u64,
pub grad_init: bool,
}
Expand description
Settings for mass matrix adaptation
Fields
variance_decay: f64
An exponenital decay parameter for the variance estimator
early_variance_decay: f64
Exponenital decay parameter for the variance estimator in the first adaptation window
final_window: u64
Stop adaptation final_window
draws before tuning ends.
store_mass_matrix: bool
Save the current adapted mass matrix as sampler stat
window_switch_freq: u64
Switch to a new variance estimator every window_switch_freq
draws.
grad_init: bool
Trait Implementations
sourceimpl Clone for DiagAdaptExpSettings
impl Clone for DiagAdaptExpSettings
sourcefn clone(&self) -> DiagAdaptExpSettings
fn clone(&self) -> DiagAdaptExpSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for DiagAdaptExpSettings
impl Default for DiagAdaptExpSettings
impl Copy for DiagAdaptExpSettings
Auto Trait Implementations
impl RefUnwindSafe for DiagAdaptExpSettings
impl Send for DiagAdaptExpSettings
impl Sync for DiagAdaptExpSettings
impl Unpin for DiagAdaptExpSettings
impl UnwindSafe for DiagAdaptExpSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more