pub enum AdaptiveStrategy {
CrossValidation {
folds: usize,
c_range: (f64, f64),
n_candidates: usize,
},
LearningCurve {
patience: usize,
min_improvement: f64,
c_factor: f64,
},
BayesianOptimization {
n_iterations: usize,
acquisition_function: AcquisitionFunction,
},
EarlyStopping {
patience: usize,
validation_fraction: f64,
min_delta: f64,
},
}Expand description
Adaptive regularization strategy
Variants§
CrossValidation
Cross-validation based C selection
LearningCurve
Learning curve based adaptation
BayesianOptimization
Bayesian optimization of regularization
EarlyStopping
Early stopping with validation
Trait Implementations§
Source§impl Clone for AdaptiveStrategy
impl Clone for AdaptiveStrategy
Source§fn clone(&self) -> AdaptiveStrategy
fn clone(&self) -> AdaptiveStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AdaptiveStrategy
impl RefUnwindSafe for AdaptiveStrategy
impl Send for AdaptiveStrategy
impl Sync for AdaptiveStrategy
impl Unpin for AdaptiveStrategy
impl UnsafeUnpin for AdaptiveStrategy
impl UnwindSafe for AdaptiveStrategy
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
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