pub struct RegularizedEnsembleConfig {Show 13 fields
pub n_estimators: usize,
pub alpha_l1: f64,
pub alpha_l2: f64,
pub l1_ratio: f64,
pub weight_optimizer: WeightOptimizer,
pub dropout_probability: f64,
pub noise_injection: bool,
pub noise_variance: f64,
pub max_iterations: usize,
pub tolerance: f64,
pub learning_rate: f64,
pub weight_decay: f64,
pub random_state: Option<u64>,
}Expand description
Configuration for regularized ensemble methods
Fields§
§n_estimators: usizeNumber of base estimators
alpha_l1: f64L1 regularization strength (Lasso)
alpha_l2: f64L2 regularization strength (Ridge)
l1_ratio: f64Elastic net mixing parameter (0 = Ridge, 1 = Lasso)
weight_optimizer: WeightOptimizerWeight optimization algorithm
dropout_probability: f64Dropout probability for ensemble training
noise_injection: boolWhether to use noise injection for robustness
noise_variance: f64Noise variance for injection
max_iterations: usizeMaximum number of optimization iterations
tolerance: f64Convergence tolerance for weight optimization
learning_rate: f64Learning rate for gradient-based optimization
weight_decay: f64Weight decay factor
random_state: Option<u64>Random seed for reproducibility
Implementations§
Trait Implementations§
Source§impl Clone for RegularizedEnsembleConfig
impl Clone for RegularizedEnsembleConfig
Source§fn clone(&self) -> RegularizedEnsembleConfig
fn clone(&self) -> RegularizedEnsembleConfig
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 RegularizedEnsembleConfig
impl Debug for RegularizedEnsembleConfig
Auto Trait Implementations§
impl Freeze for RegularizedEnsembleConfig
impl RefUnwindSafe for RegularizedEnsembleConfig
impl Send for RegularizedEnsembleConfig
impl Sync for RegularizedEnsembleConfig
impl Unpin for RegularizedEnsembleConfig
impl UnwindSafe for RegularizedEnsembleConfig
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