Construction

The next two pages demonstrate how to construct a regression tree and classification tree from scratch. These models are slightly more code-heavy than previous models we’ve seen due to their non-parametric and recursive nature.