train_model5_outer_fold | R Documentation |
Train model 5 - Process the outer fold
train_model5_outer_fold(
dat,
response_name,
outer_train_index,
random_state,
inner_cv_folds = 3,
calibration_youden_index_threshold = 0.9,
calibration_lambda_min_ratio = 1e-06,
rf_grid = NULL,
result_file = "outer_fold.Rda",
verbose = TRUE,
...
)
dat |
a |
response_name |
column name of the response. |
outer_train_index |
outer train sample indexes. |
random_state |
random seed. |
inner_cv_folds |
inner cross-validation fold number. |
calibration_youden_index_threshold |
a float of Youden index threhold. Default to 0.9. |
calibration_lambda_min_ratio |
see |
rf_grid |
A data frame with possible tuning values. See |
result_file |
save result in Rda file. |
verbose |
A bool. |
a list of two attributes, a data.frame
of calibrated
probabilities and response variable, and a vector of selected features.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.