pub struct StackingLayerConfig {
pub n_estimators: usize,
pub meta_strategy: MetaLearningStrategy,
pub use_probabilities: bool,
pub cv_folds: usize,
pub passthrough: bool,
pub meta_regularization: Float,
pub meta_feature_strategy: MetaFeatureStrategy,
pub polynomial_features: bool,
pub polynomial_degree: usize,
}Expand description
Configuration for a single stacking layer
Fields§
§n_estimators: usizeNumber of base estimators in this layer
meta_strategy: MetaLearningStrategyMeta-learning strategy for this layer
use_probabilities: boolWhether to use probability outputs instead of predictions
cv_folds: usizeCross-validation folds for this layer
passthrough: boolWhether to include original features in meta-features
meta_regularization: FloatL2 regularization strength for meta-learner
meta_feature_strategy: MetaFeatureStrategyMeta-feature engineering strategy
polynomial_features: boolEnable polynomial feature generation
polynomial_degree: usizePolynomial degree for feature generation
Trait Implementations§
Source§impl Clone for StackingLayerConfig
impl Clone for StackingLayerConfig
Source§fn clone(&self) -> StackingLayerConfig
fn clone(&self) -> StackingLayerConfig
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 StackingLayerConfig
impl Debug for StackingLayerConfig
Auto Trait Implementations§
impl Freeze for StackingLayerConfig
impl RefUnwindSafe for StackingLayerConfig
impl Send for StackingLayerConfig
impl Sync for StackingLayerConfig
impl Unpin for StackingLayerConfig
impl UnwindSafe for StackingLayerConfig
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