r
metric_set(rmse, rsq)
```


---
class: middle, center

&lt;iframe src="https://tidymodels.github.io/yardstick/articles/metric-types.html#metrics" width="504" height="400px"&gt;&lt;/iframe&gt;

https://tidymodels.github.io/yardstick/articles/metric-types.html#metrics

---
class: middle

# .center[`fit_split()`]

.center[.fade[Trains and tests a model with split data. Returns a tibble.]]



```r
fit_split(
  formula, 
  model, 
  split, 
* metrics = metric_set(rmse)
)
```

---
class: middle, center, frame

