pub struct MonitoringConfig {
pub window_size: usize,
pub degradation_threshold: Float,
pub drift_threshold: Float,
pub min_samples: usize,
pub monitoring_frequency: usize,
pub enable_auto_retrain: bool,
pub max_training_time: Duration,
pub metrics_to_track: Vec<PerformanceMetric>,
}Expand description
Performance monitoring configuration
Fields§
§window_size: usizeWindow size for performance tracking
degradation_threshold: FloatThreshold for performance degradation
drift_threshold: FloatThreshold for concept drift detection
min_samples: usizeMinimum number of samples before monitoring
monitoring_frequency: usizeMonitoring frequency (samples between checks)
enable_auto_retrain: boolEnable automated retraining
max_training_time: DurationMaximum training time allowed
metrics_to_track: Vec<PerformanceMetric>Performance metrics to track
Implementations§
Source§impl MonitoringConfig
Convenience functions for creating monitoring configurations
impl MonitoringConfig
Convenience functions for creating monitoring configurations
Sourcepub fn high_frequency() -> Self
pub fn high_frequency() -> Self
Create a configuration for high-frequency monitoring
Sourcepub fn production() -> Self
pub fn production() -> Self
Create a configuration for production monitoring
Sourcepub fn development() -> Self
pub fn development() -> Self
Create a configuration for development/testing
Trait Implementations§
Source§impl Clone for MonitoringConfig
impl Clone for MonitoringConfig
Source§fn clone(&self) -> MonitoringConfig
fn clone(&self) -> MonitoringConfig
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 MonitoringConfig
impl Debug for MonitoringConfig
Auto Trait Implementations§
impl Freeze for MonitoringConfig
impl RefUnwindSafe for MonitoringConfig
impl Send for MonitoringConfig
impl Sync for MonitoringConfig
impl Unpin for MonitoringConfig
impl UnwindSafe for MonitoringConfig
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