Struct rusty_machine::learning::gp::ConstMean [] [src]

pub struct ConstMean {
    // some fields omitted
}

Constant mean function

Trait Implementations

impl Default for ConstMean
[src]

Constructs the zero function.

fn default() -> ConstMean

Returns the "default value" for a type. Read more

impl MeanFunc for ConstMean
[src]

fn func(&self, x: Matrix<f64>) -> Vector<f64>

Compute the mean function applied elementwise to a matrix.