if needed)

]

---
class: middle, frame

# .center[To specify a model with parsnip]




```r
decision_tree() %&gt;%
  set_engine("C5.0") %&gt;%
  set_mode("classification")
```




---
class: middle, frame

# .center[To specify a model with parsnip]



```r
nearest_neighbor() %&gt;%              
  set_engine("kknn") %&gt;%             
  set_mode("regression") %&gt;%        
```



---
class: middle, frame

.fade[
# .center[To specify a model with parsnip]
]


.right-column[

1\. Pick a .display[model]
.fa