cv_validate | R Documentation |
This function calculates cross-validated prediction performance metrics
cv_validate(
cv_predict_out_list,
metrics = c("brier", "auc", "hum", "ccp", "pdi"),
verbose = 0
)
cv_predict_out_list |
is an object output from |
metrics |
is a vector of strings naming what metrics to compute. Options are "brier", "auc", "hum", "ccp",and "pdi". |
verbose |
Numeric indicating the amount of intermediate information that should be printed during the cross-validation process. Larger numbers correspond to more printed information. |
if Xmat has only one row, and t_cutoff is a scalar, then returns a 4 element row matrix
of probabilities. If Xmat has n
rows, then returns an n
by 4 matrix of probabilities.
If Xmat has n
rows and t_cutoff is a vector of length s
, then returns an s
by 4 by n
array.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.