View source: R/loss_functions.R
cv_risk | R Documentation |
Estimates the cross-validated risk for a given learner and evaluation function, which can be either a loss or a risk function.
cv_risk(learner, eval_fun = NULL, coefs = NULL)
learner |
A trained learner object. |
eval_fun |
A valid loss or risk function. See
|
coefs |
A |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.