pub struct Scorecard { /* private fields */ }Implementations§
Source§impl Scorecard
impl Scorecard
pub fn add_noul(&mut self, probability: f64, truth: bool)
pub fn add_choice(&mut self, matched: bool)
pub fn brier(&self) -> Option<f64>
pub fn choice_accuracy(&self) -> Option<f64>
pub fn bins(&self) -> impl Iterator<Item = (usize, u64, f64)> + '_
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scorecard
impl RefUnwindSafe for Scorecard
impl Send for Scorecard
impl Sync for Scorecard
impl Unpin for Scorecard
impl UnsafeUnpin for Scorecard
impl UnwindSafe for Scorecard
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