pub struct LabeledEventAnalysis {
pub total_events: usize,
pub statistical_events: usize,
pub business_events: usize,
pub category_distribution: HashMap<DriftEventCategory, usize>,
pub difficulty_distribution: HashMap<DetectionDifficulty, usize>,
pub avg_magnitude: f64,
pub avg_difficulty: f64,
pub period_coverage: (u32, u32),
pub passes: bool,
pub issues: Vec<String>,
}Expand description
Analysis of labeled drift events.
Fields§
§total_events: usizeTotal number of labeled events.
statistical_events: usizeNumber of statistical drift events.
business_events: usizeNumber of business event drifts.
category_distribution: HashMap<DriftEventCategory, usize>Distribution by event category.
difficulty_distribution: HashMap<DetectionDifficulty, usize>Distribution by detection difficulty.
avg_magnitude: f64Average drift magnitude.
avg_difficulty: f64Average detection difficulty score.
period_coverage: (u32, u32)Period coverage (min_period, max_period).
passes: boolWhether the analysis passes quality thresholds.
issues: Vec<String>Issues identified.
Implementations§
Trait Implementations§
Source§impl Clone for LabeledEventAnalysis
impl Clone for LabeledEventAnalysis
Source§fn clone(&self) -> LabeledEventAnalysis
fn clone(&self) -> LabeledEventAnalysis
Returns a duplicate 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 moreSource§impl Debug for LabeledEventAnalysis
impl Debug for LabeledEventAnalysis
Source§impl<'de> Deserialize<'de> for LabeledEventAnalysis
impl<'de> Deserialize<'de> for LabeledEventAnalysis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LabeledEventAnalysis
impl RefUnwindSafe for LabeledEventAnalysis
impl Send for LabeledEventAnalysis
impl Sync for LabeledEventAnalysis
impl Unpin for LabeledEventAnalysis
impl UnwindSafe for LabeledEventAnalysis
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.