Skip to content

A Linear Regression Model to predict house price given its features

License

Notifications You must be signed in to change notification settings

devparthgarg/House-Price-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

House-Price-Prediction

A linear regression model to predict house prices based on existing features.

Installation and Setup

git clone https://github.com/whoparthgarg/House-Price-Prediction

Data-set Examination

The data-set in CSV format is shown below:

logo

  • The training data-set has 3000 samples, 5 features and 1 target variable.
  • The test data-set has 2000 samples and 5 features.
  • The target variable is the price.

The data-set is available here: https://github.com/whoparthgarg/House-Price-Prediction/blob/main/USA_Housing.csv

Exploratory Data Analysis

logo

logo

logo

Model Evaluation

logo

Interpreting the coefficients:

  • All features fixed, a 1 unit increase in Avg. Area Income is associated with an increase of $21.52 .
  • All features fixed, a 1 unit increase in Avg. Area House Age is associated with an increase of $164883.28 .
  • All features fixed, a 1 unit increase in Avg. Area Number of Rooms is associated with an increase of $122368.67 .
  • All features fixed, a 1 unit increase in Avg. Area Number of Bedrooms is associated with an increase of $2233.80 .
  • All features fixed, a 1 unit increase in Area Population is associated with an increase of $15.15 .

Predictions

logo

Residual Histogram

logo

Regression Evaluation Metrics

logo

About

A Linear Regression Model to predict house price given its features

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published