6505.
```



---
template: step1

---
template: step2

---
name: step3
background-image: url("images/predicting/predicting.004.jpeg")
background-size: contain

---
template: handout

--

data `(x)` + fitted model = predictions

--

data `(y)` + predictions = metrics

---
class: middle, center, inverse

A model doesn't have to be a straight line!

---
exclude: true





```r
rt_spec &lt;- 
  decision_tree() %&gt;%          
  set_engine(engine = "rpart") %&gt;% 
  set_mode("regression")

rt_fit &lt;- fit_dat