Struct rusty_machine::learning::toolkit::cost_fn::MeanSqError [] [src]

pub struct MeanSqError;

The mean squared error cost function.

Trait Implementations

impl Clone for MeanSqError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MeanSqError
[src]

impl Debug for MeanSqError
[src]

Formats the value using the given formatter.

impl CostFunc<Matrix<f64>> for MeanSqError
[src]

The cost function.

The gradient of the cost function.

impl CostFunc<Vector<f64>> for MeanSqError
[src]

The cost function.

The gradient of the cost function.