pub struct KMeansReport {
pub model: KMeansModel,
pub selected_restart: usize,
pub restarts: Vec<KMeansRestartEvidence>,
pub requested_restarts: usize,
pub work: u64,
pub termination: KMeansSearchTermination,
}Expand description
Selected model and complete multi-restart evidence.
Fields§
§model: KMeansModelLowest-inertia model, with stable restart-index tie breaking.
selected_restart: usizeIndex into Self::restarts selected by the model-selection policy.
restarts: Vec<KMeansRestartEvidence>Evidence for every candidate that reached a complete assignment.
requested_restarts: usizeNumber of requested candidates.
work: u64Total charged work across initialization and all candidates.
termination: KMeansSearchTerminationConcrete search-level termination reason.
Trait Implementations§
Source§impl Clone for KMeansReport
impl Clone for KMeansReport
Source§fn clone(&self) -> KMeansReport
fn clone(&self) -> KMeansReport
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 KMeansReport
impl Debug for KMeansReport
Source§impl PartialEq for KMeansReport
impl PartialEq for KMeansReport
impl StructuralPartialEq for KMeansReport
Auto Trait Implementations§
impl Freeze for KMeansReport
impl RefUnwindSafe for KMeansReport
impl Send for KMeansReport
impl Sync for KMeansReport
impl Unpin for KMeansReport
impl UnsafeUnpin for KMeansReport
impl UnwindSafe for KMeansReport
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