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!
Deze oefening maakt deel uit van de cursus
Machine Learning with Tree-Based Models in R
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Load the package
___
# Pick a model class
tree_spec <- ___
# Print the result
___