pub trait BoostTraitConst: DTreesTraitConst {
// Required method
fn as_raw_Boost(&self) -> *const c_void;
// Provided methods
fn get_boost_type(&self) -> Result<i32> { ... }
fn get_weak_count(&self) -> Result<i32> { ... }
fn get_weight_trim_rate(&self) -> Result<f64> { ... }
}Expand description
Constant methods for crate::ml::Boost
Required Methods§
fn as_raw_Boost(&self) -> *const c_void
Provided Methods§
Sourcefn get_boost_type(&self) -> Result<i32>
fn get_boost_type(&self) -> Result<i32>
Type of the boosting algorithm. See Boost::Types. Default value is Boost::REAL.
§See also
setBoostType
Sourcefn get_weak_count(&self) -> Result<i32>
fn get_weak_count(&self) -> Result<i32>
Sourcefn get_weight_trim_rate(&self) -> Result<f64>
fn get_weight_trim_rate(&self) -> Result<f64>
A threshold between 0 and 1 used to save computational time.
Samples with summary weight do not participate in the next
iteration of training. Set this parameter to 0 to turn off this functionality. Default value is 0.95.
§See also
setWeightTrimRate
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.