Part-A Assignment No. 4
Part-A Assignment No. 4
Group A
Assignment No: 4
----------------------------------------------------------------------------------------------------------------
Title of the Assignment: 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.
----------------------------------------------------------------------------------------------------------------
Objective of the Assignment: Students should be able to data analysis using liner regression
using Python for any open source dataset
---------------------------------------------------------------------------------------------------------------
Prerequisite:
1. Basic of Python Programming
2.Concept of Regresion.
---------------------------------------------------------------------------------------------------------------
Assignment Question:
1) Compute SST, SSE, SSR, MSE, RMSE, R Square for the below example .
1 95 85
2 85 95
3 80 70
4 70 65
5 60 70
2) Comment on whether the model is best fit or not based on the calculated values.
3) Write python code to calculate the RSquare for Boston Dataset.
(Consider the linear regression model created in practical session)
.