pub struct RegularizedEnsembleConfigBuilder { /* private fields */ }Implementations§
Source§impl RegularizedEnsembleConfigBuilder
impl RegularizedEnsembleConfigBuilder
pub fn n_estimators(self, n_estimators: usize) -> Self
pub fn alpha_l1(self, alpha: f64) -> Self
pub fn alpha_l2(self, alpha: f64) -> Self
pub fn l1_ratio(self, ratio: f64) -> Self
pub fn weight_optimizer(self, optimizer: WeightOptimizer) -> Self
pub fn dropout_probability(self, prob: f64) -> Self
pub fn noise_injection(self, inject: bool) -> Self
pub fn max_iterations(self, max_iter: usize) -> Self
pub fn tolerance(self, tol: f64) -> Self
pub fn learning_rate(self, lr: f64) -> Self
pub fn random_state(self, seed: u64) -> Self
pub fn build(self) -> RegularizedEnsembleConfig
Trait Implementations§
Source§impl Default for RegularizedEnsembleConfigBuilder
impl Default for RegularizedEnsembleConfigBuilder
Source§fn default() -> RegularizedEnsembleConfigBuilder
fn default() -> RegularizedEnsembleConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RegularizedEnsembleConfigBuilder
impl RefUnwindSafe for RegularizedEnsembleConfigBuilder
impl Send for RegularizedEnsembleConfigBuilder
impl Sync for RegularizedEnsembleConfigBuilder
impl Unpin for RegularizedEnsembleConfigBuilder
impl UnwindSafe for RegularizedEnsembleConfigBuilder
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> 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