Description Usage Arguments Value
View source: R/eval_framework.R
Performs a cross-validation experiment where folds can be allocated in different ways considering time and/or space Performs a cross-validation experiment where folds can be allocated in different ways considering time and/or space
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
data |
full dataset |
nfolds |
number of folds for the data set to be separated into. |
FUN |
function with arguments
|
form |
a formula for model learning |
fold.alloc.proc |
name of fold allocation function. Should be one of
|
alloc.pars |
parameters to pass onto |
time |
column name of time-stamp in |
site_id |
column name of location identifier in |
.keepTrain |
if TRUE (default), instead of the results of
|
.parallel |
Boolean indicating whether each fold should be run in parallel |
.verbose |
Boolean indicating whether updates on progress should be printed |
... |
other arguments to FUN |
The results of FUN
. Usually, a data.frame
with location identifier site_id
, time-stamp time
,
true values trues
and the workflow's predictions preds
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.