hai_auto_wflw_metrics: Collect Metrics from Boilerplat Workflows

View source: R/boilerplate-metrics-collection.R

hai_auto_wflw_metricsR Documentation

Collect Metrics from Boilerplat Workflows

Description

This function will extract the metrics from the hai_auto_ boilerplate functions.

Usage

hai_auto_wflw_metrics(.data)

Arguments

.data

The output of the hai_auto_ boilerplate function in it's entirety.

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.

Value

A tibble

Author(s)

Steven P. Sanderson II, MPH

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

## 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)


healthyR.ai documentation built on April 3, 2023, 5:24 p.m.