pub trait ParamGridTraitConst {
    // Required method
    fn as_raw_ParamGrid(&self) -> *const c_void;

    // Provided methods
    fn min_val(&self) -> f64 { ... }
    fn max_val(&self) -> f64 { ... }
    fn log_step(&self) -> f64 { ... }
}
Expand description

Constant methods for crate::ml::ParamGrid

Required Methods§

Provided Methods§

source

fn min_val(&self) -> f64

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

source

fn max_val(&self) -> f64

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

source

fn log_step(&self) -> 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§