Collect Metrics from Boilerplat Workflows
Source:R/boilerplate-metrics-collection.R
hai_auto_wflw_metrics.Rd
This function will extract the metrics from the hai_auto_
boilerplate
functions.
Details
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.
See also
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()
Examples
if (FALSE) { # \dontrun{
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)
} # }