pub struct AutoMLConfig {
pub max_time: Duration,
pub max_trials: usize,
pub cv_folds: usize,
pub metric: OptimizationMetric,
pub strategy: SearchStrategy,
pub population_size: usize,
pub early_stopping_patience: Option<usize>,
pub random_seed: Option<u64>,
}Expand description
AutoML configuration
Fields§
§max_time: DurationMaximum optimization time
max_trials: usizeMaximum number of trials
cv_folds: usizeCross-validation folds
metric: OptimizationMetricOptimization metric
strategy: SearchStrategySearch strategy
population_size: usizePopulation size for genetic algorithms
early_stopping_patience: Option<usize>Early stopping patience
random_seed: Option<u64>Random seed
Trait Implementations§
Source§impl Clone for AutoMLConfig
impl Clone for AutoMLConfig
Source§fn clone(&self) -> AutoMLConfig
fn clone(&self) -> AutoMLConfig
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 AutoMLConfig
impl Debug for AutoMLConfig
Auto Trait Implementations§
impl Freeze for AutoMLConfig
impl RefUnwindSafe for AutoMLConfig
impl Send for AutoMLConfig
impl Sync for AutoMLConfig
impl Unpin for AutoMLConfig
impl UnwindSafe for AutoMLConfig
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