Generic function that computes a crossvalidation score for regression models.
1 | crossvalidate(object, ...)
|
object |
a model object |
kfolds |
Number of folds to use for crossvalidation. 0 (default) corresponds to leave-one-out crossvalidation. |
statistic |
performance statistic to use. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.