Struct juice::solver::regression_evaluator::RegressionEvaluator[][src]

pub struct RegressionEvaluator { /* fields omitted */ }
Expand description

Sampled Evaluator for Regression Problems

Produces measure of accuracy for regression problems up to Capacity elements in a First-In First-Out stack.

Implementations

Create an evaluator for Regression Problems

Arguments

  • evaluation_metric - Regression metric to use for evaluation - i.e. ‘mse’

Add a sample by providing the expected target value and the prediction.

Add a batch of samples.

See add_sample.

Get the predicted value from the output of a network.

Set the capacity of the Regression Evaluator

Return all collected samples.

Return the accuracy of the collected predictions.

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 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.