Regression Trees with tidymodels
Explore how to train CART regression trees in R using the tidymodels framework by creating a custom imputation model. Understand how to handle missing numeric data, specifically predicting Age values in the Titanic dataset, and learn the limitations of this approach regarding cross-validation and information leakage.
We'll cover the following...
We'll cover the following...
Training a custom imputation model
This lesson demonstrates how to train CART regression trees using tidymodels by crafting a custom imputation model to predict missing Age feature values in the Titanic training dataset.
Note: Using this imputation model could lead ...