Struct dahl_salso::optimize::VICMLossComputer [−][src]
pub struct VICMLossComputer<'a> { /* fields omitted */ }
Implementations
Trait Implementations
impl<'a> CMLossComputer for VICMLossComputer<'a>
[src]
impl<'a> CMLossComputer for VICMLossComputer<'a>
[src]fn compute_loss(
&self,
state: &WorkingClustering,
cms: &Array3<CountType>
) -> f64
[src]
&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
[src]
&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>)
[src]
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
)
[src]
&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> RefUnwindSafe for VICMLossComputer<'a>
impl<'a> Send for VICMLossComputer<'a>
impl<'a> Sync for VICMLossComputer<'a>
impl<'a> Unpin for VICMLossComputer<'a>
impl<'a> UnwindSafe for VICMLossComputer<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,