external_crossval | R Documentation |
This function performs external cross-validation on the provided ROI and model specification. It returns a tibble with performance metrics, fitted model (optional), and any warnings or errors.
external_crossval(
roi,
mspec,
id,
compute_performance = TRUE,
return_fit = FALSE,
permute = FALSE
)
roi |
A list containing train_roi and test_roi elements. |
mspec |
A model specification object. |
id |
A unique identifier for the model. |
compute_performance |
Logical, whether to compute performance metrics (default: TRUE). |
return_fit |
Logical, whether to return the fitted model (default: FALSE). |
permute |
Logical, whether to permute the training labels (default: FALSE). |
A tibble with performance metrics, fitted model (optional), and any warnings or errors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.