DSBDAL_Assignment no 4
DSBDAL_Assignment no 4
4. Data Analytics I
Create a Linear Regression Model using Python/R to predict home prices using Boston
Housing Dataset (https://www.kaggle.com/c/boston-housing). The Boston Housing dataset
contains information about various houses in Boston through different parameters. There
are 506 samples and 14 feature variables in this dataset.
The objective is to predict the value of prices of the house using the given features.
Theory
Linear regression
The Data
Image by author
Note that we didn’t split the data into training and test for
the sake of simplicity. Splitting the data before building
the model is a popular approach to avoid overfitting.