estimates: Estimate error using a chosen method

Description Usage Arguments Value

View source: R/workflows.R

Description

Estimate error using a chosen method

Usage

1
2
3
4
estimates(data, form, estimator = "kf_xval", est.pars = list(nfolds =
  10, fold.alloc.proc = "Trand_SPrand"), workflow = "simple_workflow",
  wf.pars = NULL, evaluator = "evaluate", eval.pars = NULL,
  seed = 1234)

Arguments

data

a data frame

form

a formula for learning

estimator

the name of an error estimator function

est.pars

a named list of arguments to feed to estimator

workflow

the name of the workflow to use for making predictions

wf.pars

a named list of arguments to feed to workflow

evaluator

the name of the function to use to calculate evaluation results

eval.pars

a named list of arguments to feed to evaluator

seed

a seed to set before performing estimates

Value

The results of evaluator after applying estimator to the learning task


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