Crafting the Recipe

Learn how to craft tidymodels recipes for preparing training data for machine learning models.

We'll cover the following

Getting started

This lesson uses the recipes package of the tidymodels family as the start of the R code script to train a CART classification decision tree. The code in this lesson is developed step by step. Not surprisingly, the first step is to load the required R packages and the Titanic training set.

Run the following code to get things started:

Get hands-on with 1400+ tech skills courses.