pub struct AnalyticsConfig {
pub default_forecast_model: String,
pub default_anomaly_method: String,
pub default_confidence_level: f64,
pub max_forecast_horizon: usize,
pub max_training_points: usize,
pub default_anomaly_threshold: f64,
}Expand description
Analytics engine configuration (forecasting, anomaly detection, preprocessing).
Configurable via TOML under the [analytics] section.
Fields§
§default_forecast_model: StringDefault forecast model name (one of: ses, holt, holt_winters, arima, sarima, linear_regression).
default_anomaly_method: StringDefault anomaly detection method (one of: zscore, modified_zscore, iqr, forecast_residual, moving_average, dynamic_threshold).
default_confidence_level: f64Default confidence level for prediction intervals.
max_forecast_horizon: usizeMaximum forecast horizon in data points.
max_training_points: usizeMaximum number of training points fed to a model.
default_anomaly_threshold: f64Default anomaly detection threshold (standard deviations).
Trait Implementations§
Source§impl Clone for AnalyticsConfig
impl Clone for AnalyticsConfig
Source§fn clone(&self) -> AnalyticsConfig
fn clone(&self) -> AnalyticsConfig
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 moreSource§impl Debug for AnalyticsConfig
impl Debug for AnalyticsConfig
Source§impl Default for AnalyticsConfig
impl Default for AnalyticsConfig
Source§impl<'de> Deserialize<'de> for AnalyticsConfig
impl<'de> Deserialize<'de> for AnalyticsConfig
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 AnalyticsConfig
impl RefUnwindSafe for AnalyticsConfig
impl Send for AnalyticsConfig
impl Sync for AnalyticsConfig
impl Unpin for AnalyticsConfig
impl UnsafeUnpin for AnalyticsConfig
impl UnwindSafe for AnalyticsConfig
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