pub struct ConjugateNormalConfig {
pub prior_mu: f64,
pub prior_sigma: f64,
pub likelihood_sigma: f64,
pub observation: f64,
pub n_samples: usize,
pub n_warmup: usize,
}Expand description
Configuration for conjugate normal model validation.
Fields§
§prior_mu: f64Prior mean
prior_sigma: f64Prior standard deviation
likelihood_sigma: f64Likelihood standard deviation
observation: f64Observed data point
n_samples: usizeNumber of MCMC samples
n_warmup: usizeNumber of warmup/burn-in samples
Trait Implementations§
Source§impl Clone for ConjugateNormalConfig
impl Clone for ConjugateNormalConfig
Source§fn clone(&self) -> ConjugateNormalConfig
fn clone(&self) -> ConjugateNormalConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConjugateNormalConfig
impl RefUnwindSafe for ConjugateNormalConfig
impl Send for ConjugateNormalConfig
impl Sync for ConjugateNormalConfig
impl Unpin for ConjugateNormalConfig
impl UnsafeUnpin for ConjugateNormalConfig
impl UnwindSafe for ConjugateNormalConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more