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!
This exercise is part of the course
Machine Learning with Tree-Based Models in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Load the package
___
# Pick a model class
tree_spec <- ___
# Print the result
___