pub trait ParamGridTrait: ParamGridTraitConst {
// Required method
fn as_raw_mut_ParamGrid(&mut self) -> *mut c_void;
// Provided methods
fn set_min_val(&mut self, val: f64) { ... }
fn set_max_val(&mut self, val: f64) { ... }
fn set_log_step(&mut self, val: f64) { ... }
}
Expand description
Mutable methods for crate::ml::ParamGrid
Required Methods§
fn as_raw_mut_ParamGrid(&mut self) -> *mut c_void
Provided Methods§
Sourcefn set_min_val(&mut self, val: f64)
fn set_min_val(&mut self, val: f64)
Minimum value of the statmodel parameter. Default value is 0.
Sourcefn set_max_val(&mut self, val: f64)
fn set_max_val(&mut self, val: f64)
Maximum value of the statmodel parameter. Default value is 0.
Sourcefn set_log_step(&mut self, val: f64)
fn set_log_step(&mut self, val: f64)
Logarithmic step for iterating the statmodel parameter.
The grid determines the following iteration sequence of the statmodel parameter values:
where
is the maximal index satisfying
The grid is logarithmic, so logStep must always be greater than 1. Default value is 1.