evaluate: Evalute the results of a predictive workflow

Description Usage Arguments Value

View source: R/workflows.R

Description

Calculate evaluation metrics from the raw results of a workflow

Usage

1
2
evaluate(wfRes, eval.function = get("regressionMetrics",
  asNamespace("performanceEstimation")), .keptTrain = TRUE, ...)

Arguments

wfRes

a data frame (or list of data frames) containing the results of a predictive workflow with columns trues and preds containing the real and predicted values, respectively

eval.function

the function to be used to calculate error metrics from wfRes

.keptTrain

a Boolean indicating whether .keepTrain was set to TRUE in calls to estimation methods. Only useful if evaluation metrics need training data.

...

parameters to pass to eval.function

Value

The results (or a list of results) of eval.function applied to the data frame (or list of data frames) in wfRes


mrfoliveira/Evaluation-procedures-for-forecasting-with-spatio-temporal-data documentation built on April 11, 2021, 10:50 a.m.