Description Usage Arguments Value
View source: R/performance_assessment.r
MAIN cross validation assessment. There are 2 main usage modes. 1) provide predictions by setting pred and truth, 2) provide mod and dat to generate predictions to evaluate.
1 2 |
resp, |
a character vector of the names of dependent/response variables in df |
pred, |
option 1 parameter: matrix of predictions (observations x fold) |
truth, |
option 1 parameter: matrix of ground truth values (observations x fold) |
mod, |
option 2 parameter: a trained model: glm(resp~...) or lm(resp~...) |
dat, |
option 2 parameter: a data.frame containing all variables used in the mod model. |
list of performance assessments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.