pub fn new(depth: Option<u8>, min_samples_split: Option<usize>) -> Self {
        TreeParameters {
            depth: depth.unwrap_or(DEFAULT_TREE_DEPTH),
            min_samples_split: min_samples_split.unwrap_or(DEFAULT_TREE_MIN_SAMPLES_SPLIT)
        }
    }
/// Make new `TreeParameters` with default or specified parameters.
Make new `TreeParameters` with default or specified parameters.
Make new ` TreeParameters ` with default or specified parameters .
pub fn new(depth: Option<u8>, min_samples_split: Option<usize>) -> Self {
        TreeParameters {
            depth: depth.unwrap_or(DEFAULT_TREE_DEPTH),
            min_samples_split: min_samples_split.unwrap_or(DEFAULT_TREE_MIN_SAMPLES_SPLIT)
        }
    }
pub fn new ( depth : Option < u8 > , min_samples_split : Option < usize > ) -> Self { TreeParameters { depth : depth . unwrap_or ( DEFAULT_TREE_DEPTH ) , min_samples_split : min_samples_split . unwrap_or ( DEFAULT_TREE_MIN_SAMPLES_SPLIT ) } }
Make new `TreeParameters` with default or specified parameters.
Make new ` TreeParameters ` with default or specified parameters .
depth
Option<u8>
min_samples_split
Option<usize>
depth
Option<u8>
min_samples_split
Option<usize>