Skip to main content

LinearRegressionConstructor

Trait LinearRegressionConstructor 

Source
pub trait LinearRegressionConstructor {
    // Required method
    fn new(values: &[usize], num_of_keys: usize) -> (usize, usize);
}

Required Methods§

Source

fn new(values: &[usize], num_of_keys: usize) -> (usize, usize)

Returns linear coefficient as numerator and denominator.

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.

Implementors§