1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Public random-forest parameter types. use super::super::forest::forest_params; use crate::tree::{MaxFeatures, Splitter}; forest_params!( RandomForestClassifierParams, MaxFeatures::Sqrt, Splitter::Best ); forest_params!( RandomForestRegressorParams, MaxFeatures::All, Splitter::Best );