pub struct MemoryEfficientConfig {
pub max_estimators_in_memory: usize,
pub batch_size: usize,
pub window_size: Option<usize>,
pub lazy_evaluation: bool,
pub memory_threshold_mb: usize,
pub compress_models: bool,
pub use_disk_cache: bool,
pub cache_dir: Option<String>,
pub learning_rate_decay: Float,
pub forgetting_factor: Float,
pub adaptive_batch_size: bool,
}Expand description
Configuration for memory-efficient ensemble methods
Fields§
§max_estimators_in_memory: usizeMaximum number of estimators to keep in memory
batch_size: usizeBatch size for incremental learning
window_size: Option<usize>Window size for streaming data
lazy_evaluation: boolEnable lazy evaluation for predictions
memory_threshold_mb: usizeMemory threshold in MB before triggering cleanup
compress_models: boolEnable compression for stored models
use_disk_cache: boolUse disk caching for overflow models
cache_dir: Option<String>Disk cache directory
learning_rate_decay: FloatLearning rate decay for incremental learning
forgetting_factor: FloatForgetting factor for streaming data
adaptive_batch_size: boolEnable adaptive batch sizing
Trait Implementations§
Source§impl Clone for MemoryEfficientConfig
impl Clone for MemoryEfficientConfig
Source§fn clone(&self) -> MemoryEfficientConfig
fn clone(&self) -> MemoryEfficientConfig
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 MemoryEfficientConfig
impl Debug for MemoryEfficientConfig
Auto Trait Implementations§
impl Freeze for MemoryEfficientConfig
impl RefUnwindSafe for MemoryEfficientConfig
impl Send for MemoryEfficientConfig
impl Sync for MemoryEfficientConfig
impl Unpin for MemoryEfficientConfig
impl UnwindSafe for MemoryEfficientConfig
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