pub struct AttributionStatistics<F: Float + Debug> {
pub mean: F,
pub mean_absolute: F,
pub max_absolute: F,
pub positive_attribution_ratio: f64,
pub total_positive_attribution: F,
pub total_negative_attribution: F,
}
Expand description
Attribution statistics for a single method
Fields§
§mean: F
Mean attribution value
mean_absolute: F
Mean absolute attribution value
max_absolute: F
Maximum absolute attribution value
positive_attribution_ratio: f64
Ratio of positive attributions
total_positive_attribution: F
Sum of all positive attributions
total_negative_attribution: F
Sum of all negative attributions
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for AttributionStatistics<F>where
F: Freeze,
impl<F> RefUnwindSafe for AttributionStatistics<F>where
F: RefUnwindSafe,
impl<F> Send for AttributionStatistics<F>where
F: Send,
impl<F> Sync for AttributionStatistics<F>where
F: Sync,
impl<F> Unpin for AttributionStatistics<F>where
F: Unpin,
impl<F> UnwindSafe for AttributionStatistics<F>where
F: UnwindSafe,
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more