pub struct PredictiveOptimizerConfig {
pub model_type: MLModelType,
pub training_data_size: usize,
pub prediction_horizon: Duration,
pub learning_rate: f64,
pub enable_online_learning: bool,
pub feature_engineering: bool,
pub model_update_frequency: Duration,
}Expand description
Predictive optimizer configuration
Fields§
§model_type: MLModelTypeML model type
training_data_size: usizeTraining data size
prediction_horizon: DurationPrediction horizon
learning_rate: f64Learning rate
enable_online_learning: boolEnable online learning
feature_engineering: boolFeature engineering
model_update_frequency: DurationModel update frequency
Trait Implementations§
Source§impl Clone for PredictiveOptimizerConfig
impl Clone for PredictiveOptimizerConfig
Source§fn clone(&self) -> PredictiveOptimizerConfig
fn clone(&self) -> PredictiveOptimizerConfig
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 moreAuto Trait Implementations§
impl Freeze for PredictiveOptimizerConfig
impl RefUnwindSafe for PredictiveOptimizerConfig
impl Send for PredictiveOptimizerConfig
impl Sync for PredictiveOptimizerConfig
impl Unpin for PredictiveOptimizerConfig
impl UnwindSafe for PredictiveOptimizerConfig
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