pub struct Posterior<S: State> {
pub point_estimate: S,
pub log_posterior: f64,
pub confidence_interval: (f64, f64),
pub evidence: Vec<EvidenceTerm>,
}Expand description
Posterior belief over the state space.
Encapsulates the decision-maker’s current belief about the state, sufficient for computing expected loss.
Fields§
§point_estimate: SThe point estimate (mode or mean) of the posterior.
log_posterior: f64Log-posterior odds of the point estimate being correct.
confidence_interval: (f64, f64)Confidence interval (lower, upper) on the posterior probability.
evidence: Vec<EvidenceTerm>Top evidence terms that shaped this posterior.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Posterior<S>where
S: Freeze,
impl<S> RefUnwindSafe for Posterior<S>where
S: RefUnwindSafe,
impl<S> Send for Posterior<S>where
S: Send,
impl<S> Sync for Posterior<S>where
S: Sync,
impl<S> Unpin for Posterior<S>where
S: Unpin,
impl<S> UnsafeUnpin for Posterior<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Posterior<S>where
S: UnwindSafe,
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