Skip to content

This project is about predicting house price of Boston city using supervised machine learning algorithms. In this we used three models Multiple Linear Regression, Decision Tree and Random Forest and finally choose the best one. Furthermore, we briefly introduced Regression, the data set, analyzed and visualized the dataset.

Notifications You must be signed in to change notification settings

thenomaniqbal/boston-housing-price-prediction

Repository files navigation

Regression-HousePricePrediction


Logo

Boston House Price Prediction

In this project i've tried to predict the prices of houses in Boston data set and deployed an end to end machine learning model using flask and heroku....
View Deployment On Heroku »

View Codes · Report Bug / Documentation / Paper -> thenomaniqbal@gmail.com

📸 Demo

Heroku-implementation

📝 Table of Contents

Project

Boston housing price prediction using Regression Algorithms

  1. CRIM per capital crime rate by town
  2. ZN proportion of residential land zoned for lots over 25,000 sq.ft.
  3. INDUS proportion of non-retail business acres per town
  4. CHAS Charles River dummy variable (= 1 if tract bounds river; 0 otherwise)
  5. NOX nitric oxides concentration (parts per 10 million)
  6. RM average number of rooms per dwelling
  7. AGE proportion of owner-occupied units built prior to 1940
  8. DIS weighted distances to five Boston employment centers
  9. RAD index of accessibility to radial highways
    10.TAX full-value property-tax rate per 10,000 USD
  10. PTRATIO pupil-teacher ratio by town
  11. Black 1000(Bk — 0.63)² where Bk is the proportion of blacks by town
  12. LSTAT % lower status of the population

The visualization of the data set is implemented in a separate file: Visualization

thenomaniqbal, boston-housing-price-prediction, thenomaniqbal@gmail.com

Built With

Getting Started

Clone the repo and extract it ....

Prerequisites

This is the list of things you need to use the software and how to install them.

  • Python
Version python 3.8 <
  • Pandas
  • sklearn
  • gunicorn
  • scipy
  • numpy
  • matplotlib
  • flask

Installation

  1. Clone the repo
git clone https://github.com/thenomaniqbal/boston-housing-price-prediction.git

  1. Install Python Libraries
pip install pandas, sklearn, numpy, matplotlib, flask, gunicorn, scipy

  1. Required Imports:
import numpy as np
import pandas as pd
import matplolib.pyplot as plt
from flask import Flask,request, url_for, redirect, render_template
import pickle

Contributers

Noman Iqbal

Contact

thenomaniqbal@gmail.com

Link: https://github.com/thenomaniqbal/

References

  • Stackoverflow
  • flask

About

This project is about predicting house price of Boston city using supervised machine learning algorithms. In this we used three models Multiple Linear Regression, Decision Tree and Random Forest and finally choose the best one. Furthermore, we briefly introduced Regression, the data set, analyzed and visualized the dataset.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages