15 September 2024
CART
- split (**partition**) data up into __major__ chunks
library(tree)
library(rpart)
var rel.inf x1 x1 55.06775 x2 x2 44.93225
\[ 1-\left(\frac{\sum (y_i - E(y))^2}{\sum(y_i - \bar{y})}\right) \]
[1] 0.5630589