all_metrics {AllMetrics}R Documentation

Calculating Multiple Performance Metrics of a Prediction Model

Description

This provides a function to calculate multiple performance metrics for actual and predicted values.

Usage

all_metrics(actual, predicted)

Arguments

actual

This is the actual time series values

predicted

This is the predicted values of a time series using a model

Value

References

Examples

actual <- c(1.5, 2.3, 25, 52, 14)
predicted <- c(1.2, 10, 3.5, 4.3, 5.6)
# Inside the function 1st specify actual then predicted
print(all_metrics(actual, predicted))

[Package AllMetrics version 0.2.1 Index]