Visualizing a Tuned Classification Tree
Explore how to visualize tuned CART classification trees using tidymodels in R. Learn to apply hyperparameter tuning, interpret model complexity, and understand the bias-variance tradeoff with real data examples.
We'll cover the following...
We'll cover the following...
Specifying hyperparameter values
Assume a grid search has been performed using a CART classification decision tree on the Titanic training data. The grid search was used to find an optimal value for the min_n hyperparameter, given a value of 0.0 for the cost_complexity hyperparameter.
The grid ...