Random Forest Vignette

Click Here for a video going through how to code up decision tree and random forest models
Author

George I. Hagstrom

Published

March 22, 2026

I have uploaded a coding video where I go through an example of using decision trees, pruning, bagging, and random forests to predict the log salary of the MLB hitters dataset. This example partially follows the coding lab at the end of ISLP, and also follows the examples that I showed in the meetup.

Click below to watch the video:

The code for the vignette can be