ElasticNet regularization

The complete code for ElasticNet regularized regression to train the model to predict the Boston house pricing is provided in the notebook ch-04a_Regression. On running the model, we get the following result:

For test data : MSE = 30.64861488, R2 = 0.63979971

Plotting the values of loss and MSE, we get the following plots:

We get the following plot for R-squared: