pub struct StreamingConfig {
pub max_models: usize,
pub performance_window_size: usize,
pub drift_threshold: Float,
pub weight_learning_rate: Float,
pub forgetting_factor: Float,
pub enable_drift_detection: bool,
pub min_samples_for_drift: usize,
pub grace_period: usize,
pub adaptive_ensemble_size: bool,
pub bootstrap_ratio: Float,
pub random_state: Option<u64>,
}Expand description
Configuration for streaming ensemble methods
Fields§
§max_models: usizeMaximum number of base models to maintain
performance_window_size: usizeWindow size for performance tracking
drift_threshold: FloatThreshold for concept drift detection
weight_learning_rate: FloatLearning rate for ensemble weights
forgetting_factor: FloatForgetting factor for old models
enable_drift_detection: boolEnable concept drift detection
min_samples_for_drift: usizeMinimum samples before drift detection
grace_period: usizeGrace period after detecting drift (in samples)
adaptive_ensemble_size: boolEnable dynamic ensemble size adjustment
bootstrap_ratio: FloatBootstrap sample ratio for diversity
random_state: Option<u64>Random state for reproducibility
Trait Implementations§
Source§impl Clone for StreamingConfig
impl Clone for StreamingConfig
Source§fn clone(&self) -> StreamingConfig
fn clone(&self) -> StreamingConfig
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 StreamingConfig
impl Debug for StreamingConfig
Auto Trait Implementations§
impl Freeze for StreamingConfig
impl RefUnwindSafe for StreamingConfig
impl Send for StreamingConfig
impl Sync for StreamingConfig
impl Unpin for StreamingConfig
impl UnwindSafe for StreamingConfig
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