Tuning a Classification Tree

Build on cross-validation by learning to tune a CART classification decision tree using tidymodels.

Preparing the data

The following code prepares the Titanic training data as part of a tidymodels workflow.

Get hands-on with 1200+ tech skills courses.