Code for Linear Model Selection and Regularization:
Applied Exercises:
chap_6_prob_6.R
(Code to perform some simple plotting)
chap_6_prob_8.R
(Best subset selection on simulated data)
chap_6_prob_9.R
(Applying various prediction techniques on the
College
data set)
chap_6_prob_10.R
(Does test error decrease as the number of features increases?)
chap_6_prob_11.R
(Predicting the per capita crime rate from the
Boston
data set)
John Weatherwax