pub struct ReductionResult {
pub total_log_odds: f64,
pub contributions: Vec<f64>,
}Expand description
Result of reducing a full event set, with per-event log-odds attribution.
Fields§
§total_log_odds: f64Total log-odds across all groups.
contributions: Vec<f64>Per-event contribution, parallel to the input slice. Indexed by the event’s position in
the input vector. Sums to total_log_odds modulo floating-point noise.
Trait Implementations§
Source§impl Clone for ReductionResult
impl Clone for ReductionResult
Source§fn clone(&self) -> ReductionResult
fn clone(&self) -> ReductionResult
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 moreAuto Trait Implementations§
impl Freeze for ReductionResult
impl RefUnwindSafe for ReductionResult
impl Send for ReductionResult
impl Sync for ReductionResult
impl Unpin for ReductionResult
impl UnsafeUnpin for ReductionResult
impl UnwindSafe for ReductionResult
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