View source: R/boilerplate-metrics-collection.R
| hai_auto_wflw_metrics | R Documentation |
This function will extract the metrics from the hai_auto_ boilerplate
functions.
hai_auto_wflw_metrics(.data)
.data |
The output of the |
This function will extract the metrics from the hai_auto_ boilerplate
functions. This function looks for a specific attribute from the hai_auto_
functions so that it will extract the tuned_results from the tuning process
if it has indeed been tuned.
A tibble
Steven P. Sanderson II, MPH
Other Boiler_Plate:
hai_auto_c50(),
hai_auto_cubist(),
hai_auto_earth(),
hai_auto_glmnet(),
hai_auto_knn(),
hai_auto_ranger(),
hai_auto_svm_poly(),
hai_auto_svm_rbf(),
hai_auto_xgboost()
## Not run:
data <- iris
rec_obj <- hai_knn_data_prepper(data, Species ~ .)
auto_knn <- hai_auto_knn(
.data = data,
.rec_obj = rec_obj,
.best_metric = "f_meas",
.model_type = "classification",
.grid_size = 2,
.num_cores = 4
)
hai_auto_wflw_metrics(auto_knn)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.