Trait ParamGridTrait

Source
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§

Provided Methods§

Source

fn set_min_val(&mut self, val: f64)

Minimum value of the statmodel parameter. Default value is 0.

Source

fn set_max_val(&mut self, val: f64)

Maximum value of the statmodel parameter. Default value is 0.

Source

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: block formula where inline formula is the maximal index satisfying block formula The grid is logarithmic, so logStep must always be greater than 1. Default value is 1.

Implementors§