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

pub struct ConstMean {
    // some fields omitted
}

Constant mean function

Trait Implementations

impl Default for ConstMean
[src]

fn default() -> ConstMean

Constructs the zero function.

Examples

use rusty_machine::learning::gp::ConstMean;

let zero_m = ConstMean::default();

impl MeanFunc for ConstMean
[src]

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

Compute the mean function applied elementwise to a matrix.