4.4 Location, Location, Location: Regression Trees for Housing Data (Recitation)

Video 7: Cross-Validation

Syntax Information: In this video, we use (0:10)*0.001 to define the cp values that we want to test in our model. Alternatively, we could replace this with the sequence function seq(0,0.01,0.001) which we learned in Unit 1. For some people, the sequence function is more intuitive, and you should use whichever syntax makes more sense to you personally.

Flash and JavaScript are required for this feature.