pub struct DriftReport {
pub l2_magnitude: f32,
pub cosine_drift: f32,
pub top_dimensions: Vec<(usize, f32)>,
}Expand description
Drift report identifying the most changed dimensions.
Fields§
§l2_magnitude: f32L2 drift magnitude.
cosine_drift: f32Cosine drift (1 - similarity).
top_dimensions: Vec<(usize, f32)>Top-N most changed dimensions: (dimension_index, absolute_change).
Trait Implementations§
Source§impl Clone for DriftReport
impl Clone for DriftReport
Source§fn clone(&self) -> DriftReport
fn clone(&self) -> DriftReport
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DriftReport
impl RefUnwindSafe for DriftReport
impl Send for DriftReport
impl Sync for DriftReport
impl Unpin for DriftReport
impl UnwindSafe for DriftReport
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