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!
Este exercício faz parte do curso
Machine Learning with Tree-Based Models in R
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Load the package
___
# Pick a model class
tree_spec <- ___
# Print the result
___