pub struct DriftConfig {
pub enabled: bool,
pub amount_mean_drift: f64,
pub amount_variance_drift: f64,
pub anomaly_rate_drift: f64,
pub concept_drift_rate: f64,
pub sudden_drift_probability: f64,
pub sudden_drift_magnitude: f64,
pub seasonal_drift: bool,
pub drift_start_period: u32,
pub drift_type: DriftType,
}Expand description
Configuration for temporal drift simulation.
Fields§
§enabled: boolEnable temporal drift simulation.
amount_mean_drift: f64Amount mean drift per period (e.g., 0.02 = 2% shift per month).
amount_variance_drift: f64Amount variance drift per period.
anomaly_rate_drift: f64Anomaly rate drift per period.
concept_drift_rate: f64Concept drift rate (0.0-1.0).
sudden_drift_probability: f64Probability of sudden drift in any period.
sudden_drift_magnitude: f64Magnitude of sudden drift events.
seasonal_drift: boolEnable seasonal drift patterns.
drift_start_period: u32Period to start drift (0 = from beginning).
drift_type: DriftTypeType of drift pattern.
Trait Implementations§
Source§impl Clone for DriftConfig
impl Clone for DriftConfig
Source§fn clone(&self) -> DriftConfig
fn clone(&self) -> DriftConfig
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 DriftConfig
impl Debug for DriftConfig
Source§impl Default for DriftConfig
impl Default for DriftConfig
Source§impl<'de> Deserialize<'de> for DriftConfig
impl<'de> Deserialize<'de> for DriftConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DriftConfig
impl RefUnwindSafe for DriftConfig
impl Send for DriftConfig
impl Sync for DriftConfig
impl Unpin for DriftConfig
impl UnwindSafe for DriftConfig
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