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

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.

Course Info

Learning Resource Types

theaters Lecture Videos
notes Lecture Notes
assignment_turned_in Problem Sets with Solutions