pub struct TransitionScore {
pub transitions: u64,
pub log_likelihood: f64,
pub mean_negative_log_likelihood: f64,
pub perplexity: f64,
}Expand description
Aggregate likelihood evidence for a collection of state sequences.
Fields§
§transitions: u64Number of adjacent transitions scored.
log_likelihood: f64Sum of natural logarithms of smoothed transition probabilities.
mean_negative_log_likelihood: f64Mean negative natural-log likelihood per transition.
perplexity: f64Exponential of the mean negative log likelihood.
Trait Implementations§
Source§impl Clone for TransitionScore
impl Clone for TransitionScore
Source§fn clone(&self) -> TransitionScore
fn clone(&self) -> TransitionScore
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 moreimpl Copy for TransitionScore
Source§impl Debug for TransitionScore
impl Debug for TransitionScore
Source§impl PartialEq for TransitionScore
impl PartialEq for TransitionScore
impl StructuralPartialEq for TransitionScore
Auto Trait Implementations§
impl Freeze for TransitionScore
impl RefUnwindSafe for TransitionScore
impl Send for TransitionScore
impl Sync for TransitionScore
impl Unpin for TransitionScore
impl UnsafeUnpin for TransitionScore
impl UnwindSafe for TransitionScore
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