run_loo | R Documentation |
Function for running leave one out cross-validation
run_loo(fit, progress = TRUE)
fit |
Object from |
progress |
Display progress bar? (Generated using the progressr and progress packages) |
Returns a list with three objects:
preds
- log observations that were left out at each step with log predictions, and
mse
- mean squared error of the predictions (leave one out cross validation score).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.