The Validation Set Approach 2

Sign in to test your solution.
set.seed(1) train <- sample(392, 196) lm.fit2 <- lm(mpg ~ poly(horsepower, 2), data = Auto, subset = train) lm.fit4 <- ... lm.mse4 <- ...
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.