pub enum IncrementalEvaluationStrategy {
SlidingWindow {
window_size: usize,
step_size: usize,
overlap_ratio: Float,
},
Prequential {
adaptation_rate: Float,
forgetting_factor: Float,
},
HoldoutEvaluation {
holdout_ratio: Float,
update_frequency: usize,
drift_detection: bool,
},
BlockBased {
block_size: usize,
evaluation_blocks: usize,
overlap_blocks: usize,
},
AdaptiveWindow {
min_window_size: usize,
max_window_size: usize,
adaptation_criterion: AdaptationCriterion,
},
FadingFactor {
alpha: Float,
minimum_weight: Float,
},
StreamingCrossValidation {
n_folds: usize,
fold_update_strategy: FoldUpdateStrategy,
},
}Expand description
Incremental evaluation strategies
Variants§
SlidingWindow
Sliding window evaluation
Prequential
Prequential evaluation (test-then-train)
HoldoutEvaluation
Holdout evaluation with periodic updates
BlockBased
Block-based evaluation for chunk learning
AdaptiveWindow
Adaptive window evaluation
FadingFactor
Fading factor evaluation
StreamingCrossValidation
Cross-validation for data streams
Trait Implementations§
Source§impl Clone for IncrementalEvaluationStrategy
impl Clone for IncrementalEvaluationStrategy
Source§fn clone(&self) -> IncrementalEvaluationStrategy
fn clone(&self) -> IncrementalEvaluationStrategy
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 IncrementalEvaluationStrategy
impl RefUnwindSafe for IncrementalEvaluationStrategy
impl Send for IncrementalEvaluationStrategy
impl Sync for IncrementalEvaluationStrategy
impl Unpin for IncrementalEvaluationStrategy
impl UnwindSafe for IncrementalEvaluationStrategy
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