Question 6: Prediction – 9 points For this question, use the…
Question 6: Prediction – 9 points For this question, use the testData. Using testData and with the previously built models in Q2,3,5, predict the Target and output the average of these probabilities for each of the models below and summarize the results: i) Full linear regression model from question 2b (model1) ii) Reduced model from question 2b (model2) iii) Stepwise forward model from question 3a (forward_model) iv) Stepwise backward model from question 3c (backward_model) v) Stepwise forward-backward model from question 3f (both_model) vi) Ridge regression model from question 5a (ridge.model) vii) Regular Lasso model from question 5c (lasso.model) viii) Group Lasso model from question 5f (group_lasso) ix) Elastic Net model from question 5i (enet.model)