pub struct PosteriorPath<S> {
pub states: Vec<S>,
pub state_indices: Vec<usize>,
pub confidence: Vec<f64>,
pub evidence: InferenceEvidence,
}Expand description
Per-position maximum-posterior state path.
Fields§
§states: Vec<S>Hidden states in observation order.
state_indices: Vec<usize>State indices in the model’s stable order.
confidence: Vec<f64>Posterior probability of each selected state.
evidence: InferenceEvidenceLikelihood and normalization diagnostics.
Trait Implementations§
Source§impl<S: Clone> Clone for PosteriorPath<S>
impl<S: Clone> Clone for PosteriorPath<S>
Source§fn clone(&self) -> PosteriorPath<S>
fn clone(&self) -> PosteriorPath<S>
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 moreSource§impl<S: Debug> Debug for PosteriorPath<S>
impl<S: Debug> Debug for PosteriorPath<S>
Source§impl<S: PartialEq> PartialEq for PosteriorPath<S>
impl<S: PartialEq> PartialEq for PosteriorPath<S>
impl<S: PartialEq> StructuralPartialEq for PosteriorPath<S>
Auto Trait Implementations§
impl<S> Freeze for PosteriorPath<S>
impl<S> RefUnwindSafe for PosteriorPath<S>where
Vec<S>: RefUnwindSafe,
impl<S> Send for PosteriorPath<S>
impl<S> Sync for PosteriorPath<S>
impl<S> Unpin for PosteriorPath<S>
impl<S> UnsafeUnpin for PosteriorPath<S>where
Vec<S>: UnsafeUnpin,
impl<S> UnwindSafe for PosteriorPath<S>where
Vec<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