pub struct EnsembleConfigParams {
pub n_estimators: usize,
pub n_features: usize,
pub n_train_rows: usize,
pub is_classification: bool,
pub n_classes: usize,
pub class_shift: bool,
pub permute_categorical: bool,
pub cat_value_counts: Vec<usize>,
pub max_num_rows: Option<usize>,
pub norm_methods: Vec<NormMethod>,
pub random_state: u64,
}Fields§
§n_estimators: usize§n_features: usize§n_train_rows: usize§is_classification: bool§n_classes: usize§class_shift: bool§permute_categorical: bool§cat_value_counts: Vec<usize>Number of distinct values per categorical column (only consulted if
permute_categorical is true); empty if there are no categorical columns.
max_num_rows: Option<usize>§norm_methods: Vec<NormMethod>§random_state: u64Auto Trait Implementations§
impl Freeze for EnsembleConfigParams
impl RefUnwindSafe for EnsembleConfigParams
impl Send for EnsembleConfigParams
impl Sync for EnsembleConfigParams
impl Unpin for EnsembleConfigParams
impl UnsafeUnpin for EnsembleConfigParams
impl UnwindSafe for EnsembleConfigParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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