Question: 1. Use Boston data set in library ISLR. The data set has 506 rows and 14 columns. >library(ISLR) >data (Boston) (a) Try to predict per

1. Use Boston data set in library ISLR. The data set has 506 rows and 14 columns. >library(ISLR) >data (Boston) (a) Try to predict per capita crime rate use LASSO, ridge regression and PCR. (b) Propose a model that perform the best on this data set. Please describe what validation method you use. (c) Does your chosen model include all the features? Discuss the final model. 1. Use Boston data set in library ISLR. The data set has 506 rows and 14 columns. >library(ISLR) >data (Boston) (a) Try to predict per capita crime rate use LASSO, ridge regression and PCR. (b) Propose a model that perform the best on this data set. Please describe what validation method you use. (c) Does your chosen model include all the features? Discuss the final model
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
