bimm_cv | R Documentation |
Cross-validation for BiMMs
bimm_cv(
data,
formula,
verbose,
n_fold = 10,
n_iteration = 5,
evaluation_metric = "auc"
)
data |
a data frame containing the variables in the model. |
formula |
An object of class "formula" that is akin to |
verbose |
An integer value of 0, 1, or 2.
|
n_fold |
an integer value of 2 or higher indicating how many folds should be created to run cross-validation. More folds => more computation time. Less folds => higher variability in performance assessments. |
n_iteration |
A positive integer indicating how many iterations to complete. More details on 'iterations' can be found in the 'Details' section. |
evaluation_metric |
A character value indicating which evaluation metric to track as iterations are completed. Valid options are 'auc' for the area underneath the receiver operator characteristic curve and 'bri' for the Brier score. |
a dataframe with estimated evaluation metrics at each iteration of the bimm fitting procedure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.