11.4 Selecting your metrics

https://tidymodels.github.io/yardstick/reference/index.html

rt_wf %>% tune::last_fit(
  ames_split,
  metrics = yardstick::metric_set(
    yardstick::rmse,
    yardstick::rsq,
    yardstick::mae
    )) %>%
  tune::collect_metrics()
## # A tibble: 3 x 3
##   .metric .estimator .estimate
##   <chr>   <chr>          <dbl>
## 1 rmse    standard   54906.   
## 2 rsq     standard       0.452
## 3 mae     standard   38035.