15.071 | Spring 2017 | Graduate

The Analytics Edge

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.

Back: Video 6: The CP Parameter

Course Info

As Taught In
Spring 2017
Level
Learning Resource Types
Lecture Videos
Lecture Notes
Problem Sets with Solutions