Skip to content

aniket53/Boston-House-Pricing

Repository files navigation

Boston House Price Prediction

Provide some set of inputs to the trained machine learning model and ML model will give you the estimated price for the house in Boston.

Table of Contents

  1. Deployment
  2. Software & Tools
  3. Commands
  4. Features
  5. Developers
  6. Feedback

Deployment

  boston-house-pricing-cicd.herokuapp.com

Software & Tools

  1. Github Account
  2. Visual Studio Code IDE
  3. Heroku Account
  4. Git CLI

Commands

  1. Create a new Environment
  conda create -p venv python==3.7 -y
  1. To Run the Environment
  conda activate venv/
  1. Create "requirements.txt"

  2. Install all dependencies from "requirements.txt" file

  pip install -r requirements.txt
  1. Git Setup
  git config --global user.name
  git config --global user.email
  git add . 
  git commit -m "commit message" 
  git push origin main
  1. Run flask app
  python app.py
  1. Heroku Deployment
  Create a Procfile
    web: gunicorn app:app
  1. Heroku deployment using Docker and Github Actions(CICD Pipeline)
  Create two folders
    .github
    .github/workflows
  Create .yaml file
    main.yaml
  1. Github Actions
  Go to Repo settings->Secrets ->Actions ->New secret Key ->Add all the keys

Features

  1. Model is trained using Linear Regression algorithm based on supervised learning.

  2. Attribute Information (in order):

     - CRIM     per capita crime rate by town
     - ZN       proportion of residential land zoned for lots over 25,000 sq.ft.
     - INDUS    proportion of non-retail business acres per town
     - CHAS     Charles River dummy variable (= 1 if tract bounds river; 0 otherwise)
     - NOX      nitric oxides concentration (parts per 10 million)
     - RM       average number of rooms per dwelling
     - AGE      proportion of owner-occupied units built prior to 1940
     - DIS      weighted distances to five Boston employment centres
     - RAD      index of accessibility to radial highways
     - TAX      full-value property-tax rate per $10,000
     - PTRATIO  pupil-teacher ratio by town
     - B        1000(Bk - 0.63)^2 where Bk is the proportion of black people by town
     - LSTAT    % lower status of the population
     - MEDV     Median value of owner-occupied homes in $1000's
    

Developers

Feedback

Feel free to provide the feedback.

Contact Here:- akhot610@gmail.com