pub struct GroupingStats {
pub units: usize,
pub edges: usize,
pub components: usize,
pub oversized_components: usize,
pub groups: usize,
pub medoid_ejections: usize,
pub sampled_medoids: usize,
pub sampled_medoid_candidates: usize,
pub linkage_splits: usize,
pub singletons: usize,
}Expand description
Counters describing what grouping saw and did.
Fields§
§units: usizeUnits considered (the input length).
edges: usizeVerified edges considered.
components: usizeInitial connected components carved by union-find.
oversized_components: usizeComponents too large to refine as one piece, cut into pieces of
GroupingConfig::max_component. Reported because the cut can leave
clones of each other in separate groups.
groups: usizeGroups emitted after medoid and complete-linkage refinement.
medoid_ejections: usizeMembers ejected by the medoid constraint (and regrouped elsewhere).
sampled_medoids: usizeComponents whose medoid candidates were sampled rather than exhaustively scored.
sampled_medoid_candidates: usizeTotal distinct-content medoid candidates scored in sampled components.
linkage_splits: usizeMembers removed by complete-linkage splitting.
singletons: usizeMembers left ungrouped as singletons after refinement.
Trait Implementations§
Source§impl Clone for GroupingStats
impl Clone for GroupingStats
Source§fn clone(&self) -> GroupingStats
fn clone(&self) -> GroupingStats
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 Debug for GroupingStats
impl Debug for GroupingStats
Source§impl Default for GroupingStats
impl Default for GroupingStats
Source§fn default() -> GroupingStats
fn default() -> GroupingStats
Returns the “default value” for a type. Read more
impl Eq for GroupingStats
Source§impl PartialEq for GroupingStats
impl PartialEq for GroupingStats
impl StructuralPartialEq for GroupingStats
Auto Trait Implementations§
impl Freeze for GroupingStats
impl RefUnwindSafe for GroupingStats
impl Send for GroupingStats
impl Sync for GroupingStats
impl Unpin for GroupingStats
impl UnsafeUnpin for GroupingStats
impl UnwindSafe for GroupingStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.