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 ejercicio forma parte del curso
Machine Learning with Tree-Based Models in R
Ejercicio interactivo práctico
Prueba este ejercicio completando el código de muestra.
# Load the package
___
# Pick a model class
tree_spec <- ___
# Print the result
___