Question: Please solve the question after reading goal. Data link is provided. Goal: In this assignment, you will implement Linear Regression, Ridge Regression and Lasso Regression.
Please solve the question after reading goal. Data link is provided.
Goal: In this assignment, you will implement Linear Regression, Ridge Regression and Lasso Regression. The goal of this assignment is to give you experience in model selection and analyze the result with hyperparameter tunning. Data sets: The dataset that you use in this project is Boston Housing Data. The independent variables are CRIM, ZN, INDUS, CHAS, NOX, RM, AGE, DIS, RAD, TAX, TRATIO, B, LSTAT and dependent variable MEDV. The detail about data is given in the following links. Divide the data into 70%, 15% and 15% training, validation and test set. Link (Data Description): https://raw.githubusercontent.com/jbrownlee/Datasets/master/housing.names Data: https://raw.githubusercontent.com/jbrownlee/Datasets/master/housing.csv
Please write Python Codes for the following question based on above details and Data link;
Question-1: Implementing Linear Regression and do some model selection on validation set. Find the best model for Linear Regression using validation set and evaluate on test set.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
