pub struct ARFConfig {
pub n_trees: usize,
pub lambda: f64,
pub feature_fraction: f64,
pub drift_delta: f64,
pub warning_delta: f64,
pub seed: u64,
}Available on crate feature
alloc only.Expand description
Configuration for AdaptiveRandomForest.
Fields§
§n_trees: usizeNumber of trees in the forest.
lambda: f64Poisson lambda for bootstrap resampling (default 6.0).
feature_fraction: f64Fraction of features per tree. 0.0 = auto (sqrt(d)/d).
drift_delta: f64ADWIN delta for drift detection (default 1e-3).
warning_delta: f64ADWIN delta for warning detection (default 1e-2).
seed: u64Random seed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ARFConfig
impl RefUnwindSafe for ARFConfig
impl Send for ARFConfig
impl Sync for ARFConfig
impl Unpin for ARFConfig
impl UnsafeUnpin for ARFConfig
impl UnwindSafe for ARFConfig
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