pub struct QuantileTransformerConfig {
pub n_quantiles: usize,
pub output_distribution: QuantileOutput,
pub subsample: Option<usize>,
pub random_state: Option<u64>,
pub copy: bool,
pub clip: bool,
pub ignore_outliers: Option<(Float, Float)>,
}Expand description
Configuration for QuantileTransformer
Fields§
§n_quantiles: usizeNumber of quantiles to be computed
output_distribution: QuantileOutputDesired output distribution
subsample: Option<usize>Subsample size for large datasets
random_state: Option<u64>Random state for subsampling
copy: boolWhether to copy the input data
clip: boolWhether to clip transformed values to avoid infinities
ignore_outliers: Option<(Float, Float)>Ignore outliers beyond this quantile range
Trait Implementations§
Source§impl Clone for QuantileTransformerConfig
impl Clone for QuantileTransformerConfig
Source§fn clone(&self) -> QuantileTransformerConfig
fn clone(&self) -> QuantileTransformerConfig
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 QuantileTransformerConfig
impl Debug for QuantileTransformerConfig
Auto Trait Implementations§
impl Freeze for QuantileTransformerConfig
impl RefUnwindSafe for QuantileTransformerConfig
impl Send for QuantileTransformerConfig
impl Sync for QuantileTransformerConfig
impl Unpin for QuantileTransformerConfig
impl UnwindSafe for QuantileTransformerConfig
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