Question: Using R programming language 1. Use the training set to fit ridge regression models and generate a plot showing the values of the coefficients in
Using R programming language
1. Use the training set to fit ridge regression models and generate a plot showing the values of the coefficients in relation to the parameter
2. Perform 10-fold cross-validation on the training set to determine the optimal value for for the ridge regression model. Report train and test error measured in MSE for this .
download the dataset prostate.rdata : https://www.dropbox.com/s/cbqg54u2eb17e9n/prostate.Rdata?dl=0
for 1 I didn't know which column should I use so I\m not sure how to do the question.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
