Struct opensrdk_probability::mcmc::slice_sampling::SliceSampler
source · [−]pub struct SliceSampler<L, P, A> where
L: Distribution<Value = A, Condition = f64>,
P: Distribution<Value = f64, Condition = ()>,
A: RandomVariable, { /* private fields */ }Expand description
Sample b from posterior p(b|a) with likelihood p(a|b) and prior p(b) Unbounded Slice Sampling http://chasen.org/~daiti-m/diary/?201510
Implementations
sourceimpl<L, P, A> SliceSampler<L, P, A> where
L: Distribution<Value = A, Condition = f64>,
P: Distribution<Value = f64, Condition = ()>,
A: RandomVariable,
impl<L, P, A> SliceSampler<L, P, A> where
L: Distribution<Value = A, Condition = f64>,
P: Distribution<Value = f64, Condition = ()>,
A: RandomVariable,
Auto Trait Implementations
impl<L, P, A> RefUnwindSafe for SliceSampler<L, P, A> where
A: RefUnwindSafe,
L: RefUnwindSafe,
P: RefUnwindSafe,
impl<L, P, A> Send for SliceSampler<L, P, A>
impl<L, P, A> Sync for SliceSampler<L, P, A>
impl<L, P, A> Unpin for SliceSampler<L, P, A> where
A: Unpin,
L: Unpin,
P: Unpin,
impl<L, P, A> UnwindSafe for SliceSampler<L, P, A> where
A: UnwindSafe,
L: UnwindSafe,
P: UnwindSafe,
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