Description Usage Arguments Details Value
tune_helper
is a helper function that summarizes part of the tuning process
for the method tune
.
1 | tune_helper(method, df, resp, nfold, nrep, ignore_col, ...)
|
method |
The model-building method |
df |
The data frame to train on |
resp |
The name of the column containing the response variable |
nfold |
The number of folds to use in evaluation |
nrep |
The number of repetitions to use in evaluation |
ignore_col |
Columns to ignore during model-building |
Calls on best_summary_stat
to find the best-performing model.
A list containing several fields relevant for the model:
$param
: The parameters used in the best model
$result_summary
: The summarized results for the best model
$result_all
: The results for each repetition for the best model
$best_index
: The index of the best model relative to $all_tune
$all_tune
: The list of all parameters used in tuning
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.