Struct extended_isolation_forest::ForestOptions
source · pub struct ForestOptions {
pub n_trees: usize,
pub sample_size: usize,
pub max_tree_depth: Option<usize>,
pub extension_level: usize,
}
Fields§
§n_trees: usize
n_trees
is the number of trees to be created.
sample_size: usize
sample_size
is the number of samples of the training data to be used in
creation of each tree. Must be smaller than training_data.len()
.
max_tree_depth: Option<usize>
max_tree_depth
is the max. allowed tree depth. This is by default set to average
length of an unsuccessful search in a binary tree.
extension_level: usize
extension_level
specifies degree of freedom in choosing the hyperplanes for dividing up
data. Must be smaller than the dimension n of the dataset.
Trait Implementations§
source§impl Clone for ForestOptions
impl Clone for ForestOptions
source§fn clone(&self) -> ForestOptions
fn clone(&self) -> ForestOptions
Returns a copy 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 more