pub struct IsolationForestConfig {
pub n_trees: usize,
pub sample_size: usize,
pub max_depth: usize,
pub score_threshold: f32,
pub seed: u64,
}Expand description
Isolation Forest configuration.
Fields§
§n_trees: usizeNumber of trees.
sample_size: usizeSubsample size per tree.
max_depth: usizeMax tree height (0 = ceil(log2(sample_size))).
score_threshold: f32Scores above this (normalized) flag anomalies.
seed: u64Deterministic seed for splits.
Trait Implementations§
Source§impl Clone for IsolationForestConfig
impl Clone for IsolationForestConfig
impl Copy for IsolationForestConfig
Source§impl Debug for IsolationForestConfig
impl Debug for IsolationForestConfig
Source§impl Default for IsolationForestConfig
impl Default for IsolationForestConfig
Source§impl PartialEq for IsolationForestConfig
impl PartialEq for IsolationForestConfig
impl StructuralPartialEq for IsolationForestConfig
Auto Trait Implementations§
impl Freeze for IsolationForestConfig
impl RefUnwindSafe for IsolationForestConfig
impl Send for IsolationForestConfig
impl Sync for IsolationForestConfig
impl Unpin for IsolationForestConfig
impl UnsafeUnpin for IsolationForestConfig
impl UnwindSafe for IsolationForestConfig
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