estimates: Estimate error using a chosen method

Description Usage Arguments Value

View source: R/eval_framework.R

Description

Estimate error using a chosen method

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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/STResampling-JDSA2020 documentation built on June 28, 2021, 7:01 p.m.