pub struct VICMLossComputer<'a> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl CMLossComputer for VICMLossComputer<'_>
impl CMLossComputer for VICMLossComputer<'_>
fn compute_loss( &self, state: &WorkingClustering, cms: &Array3<CountType>, ) -> f64
fn change_in_loss( &self, item_index: usize, to_label: LabelType, from_label_option: Option<LabelType>, state: &WorkingClustering, cms: &Array3<CountType>, draws: &Clusterings, ) -> f64
fn initialize(&mut self, state: &WorkingClustering, cms: &Array3<CountType>)
fn decision_callback( &mut self, item_index: usize, to_label_option: Option<LabelType>, from_label_option: Option<LabelType>, state: &WorkingClustering, cms: &Array3<CountType>, draws: &Clusterings, )
Auto Trait Implementations§
impl<'a> Freeze for VICMLossComputer<'a>
impl<'a> RefUnwindSafe for VICMLossComputer<'a>
impl<'a> Send for VICMLossComputer<'a>
impl<'a> Sync for VICMLossComputer<'a>
impl<'a> Unpin for VICMLossComputer<'a>
impl<'a> UnsafeUnpin for VICMLossComputer<'a>
impl<'a> UnwindSafe for VICMLossComputer<'a>
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