Struct tangram_metrics::RegressionMetricsOutput[][src]

pub struct RegressionMetricsOutput {
    pub mse: f32,
    pub rmse: f32,
    pub mae: f32,
    pub r2: f32,
}
Expand description

The output from RegressionMetrics.

Fields

mse: f32

The mean squared error is equal to the mean of the squared errors. For a given example, the error is the difference between the true value and the model’s predicted value.

rmse: f32

The root mean squared error is equal to the square root of the mean squared error.

mae: f32

The mean of the absolute value of the errors.

r2: f32

The r-squared value. https://en.wikipedia.org/wiki/Coefficient_of_determination.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.