accuracy

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2023 License: Apache-2.0, BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MAE

func MAE(actual, predicted []float64) (float64, error)

MAE - Mean Absolute Error

func MAPE

func MAPE(actual, predicted []float64) (float64, error)

MAPE - Mean Absolute Percentage Error

func PredictionError

func PredictionError(actual, predicted []float64) (float64, error)

PredictionError returns prediction error. In case MAPE returns error, MAE is used as fallback.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL