perf_accuracy: Compute accuracy of algorithms

Description Usage Arguments Value

Description

Compute accuracy of algorithms

Usage

1
perf_accuracy(actual, predicted)

Arguments

actual

A vector of actual values. Can contain NAs

predicted

A data.frame of predicted values. Each column being one forecast. This is especially usefull for forecasting algorithm which have different forecasting accuracy according to their iterated power.

Value

Returns a data.frame with 2 columns: r2 and MAPE and 1 row for each column in predicted


EBlonkowski/timeseries documentation built on May 6, 2019, 2:57 p.m.