pub struct ModelReport<M> {
pub model: M,
pub training_sequences: usize,
pub held_out_sequences: usize,
pub training_score: TransitionScore,
pub held_out_score: Option<TransitionScore>,
}Expand description
A fitted value together with training and held-out evidence.
Fields§
§model: MInspectable fitted model.
training_sequences: usizeNumber of sequences used to estimate transition counts.
held_out_sequences: usizeNumber of trailing sequences excluded from estimation.
training_score: TransitionScoreLikelihood of the exact training partition under the fitted model.
held_out_score: Option<TransitionScore>Likelihood of the held-out partition, when one was requested.
Trait Implementations§
Source§impl<M: Clone> Clone for ModelReport<M>
impl<M: Clone> Clone for ModelReport<M>
Source§fn clone(&self) -> ModelReport<M>
fn clone(&self) -> ModelReport<M>
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<M: Debug> Debug for ModelReport<M>
impl<M: Debug> Debug for ModelReport<M>
Source§impl<M: PartialEq> PartialEq for ModelReport<M>
impl<M: PartialEq> PartialEq for ModelReport<M>
impl<M: PartialEq> StructuralPartialEq for ModelReport<M>
Auto Trait Implementations§
impl<M> Freeze for ModelReport<M>where
M: Freeze,
impl<M> RefUnwindSafe for ModelReport<M>where
M: RefUnwindSafe,
impl<M> Send for ModelReport<M>where
M: Send,
impl<M> Sync for ModelReport<M>where
M: Sync,
impl<M> Unpin for ModelReport<M>where
M: Unpin,
impl<M> UnsafeUnpin for ModelReport<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for ModelReport<M>where
M: 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