Starting from:

$30

CSE512 Homework 2 Solved

Q. 3.2

1. Solve Ridge to predict the number of points a Wine will receive. Run Ridge on the training set, with lambda = 0.01, 0.1, 1, 10, 100, 1000. At each solution, record the root-mean-squared-error (RMSE) on training, validation and leave-one-out-cross-validation data.

Plot the train, validation and leave-one-out-cross-validation RMSE values together on a plot against Lambda. Label each curve in the plot.


2.                  What lambda achieve the best LOOCV performance? For the model using this lambda, report the objective value, the sum of square errors (on training data), the value of the regularization term.


3.                  Using the model that you computed using lambda that achieves best LOOCV performance, list the top 10 most important features and the top 10 least important features. Comment if the weights make sense intuitively.

More products