calc_perf_bootstrap_split | R Documentation |
rsample::bootstraps()
Used by bootstrap_performance()
.
calc_perf_bootstrap_split(
test_data_split,
trained_model,
outcome_colname,
perf_metric_function,
perf_metric_name,
class_probs,
method,
seed
)
test_data_split |
a single bootstrap of the test set from |
trained_model |
Trained model from |
outcome_colname |
Column name as a string of the outcome variable
(default |
perf_metric_function |
Function to calculate the performance metric to
be used for cross-validation and test performance. Some functions are
provided by caret (see |
perf_metric_name |
The column name from the output of the function
provided to perf_metric_function that is to be used as the performance metric.
Defaults: binary classification = |
class_probs |
Whether to use class probabilities (TRUE for categorical outcomes, FALSE for numeric outcomes). |
method |
ML method.
Options:
|
seed |
Random seed (default: |
a long data frame of performance metrics for rsample::int_pctl()
Kelly Sovacool, sovacool@umich.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.