pub struct WinsorizationStats {
pub n_samples: usize,
pub n_features: usize,
pub lower_clipped_per_feature: Vec<usize>,
pub upper_clipped_per_feature: Vec<usize>,
pub total_clipped: usize,
pub clipping_rate: Float,
}Expand description
Statistics about winsorization applied to data
Fields§
§n_samples: usizeNumber of samples
n_features: usizeNumber of features
lower_clipped_per_feature: Vec<usize>Number of values clipped at lower bound per feature
upper_clipped_per_feature: Vec<usize>Number of values clipped at upper bound per feature
total_clipped: usizeTotal number of values clipped
clipping_rate: FloatOverall clipping rate (proportion of values clipped)
Trait Implementations§
Source§impl Clone for WinsorizationStats
impl Clone for WinsorizationStats
Source§fn clone(&self) -> WinsorizationStats
fn clone(&self) -> WinsorizationStats
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 moreAuto Trait Implementations§
impl Freeze for WinsorizationStats
impl RefUnwindSafe for WinsorizationStats
impl Send for WinsorizationStats
impl Sync for WinsorizationStats
impl Unpin for WinsorizationStats
impl UnwindSafe for WinsorizationStats
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