Exercise

Specify that tree

In order to build models and use them to solve real-world problems, you first need to lay the foundations of your model by creating a model specification. This is the very first step in every machine learning pipeline that you will ever build.

You are going to load the relevant packages and design the specification for your classification tree in just a few steps.

A magical moment, enjoy!

Instructions 1/3

undefined XP
    1
    2
    3
  • Load the tidymodels package.
  • Pick a model class for decision trees, save it as tree_spec, and print it.