maciekmalachowski / House-price-predictor

💲🏡Predictor that has multiple options to choose from database, so you can predict the price of your dream home.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run tests

💲🏡 House-price-predictor

See for yourself
https://hppredictor.herokuapp.com

Table of Contents


First look 👀

Predictor is a web application built on django along with machine learning features. The application models are written in jupyter-notebook, which uses RandomForestRegressor to properly create all predictions.

To select the parameters of the house, the application uses django-forms, which automatically enters the data into the database and returns the result of the prediction in the form of price and details that we selected for our dream house in Ames City.

It also has user authentication and all to improve your predictions.


Installation ℹ

First, you need to install the requirements contained in requirements.txt. Open your shell and paste the following commands:

pip install -r requirements.txt

Then you have to go to the server folder

cd House-price-predictor/server

Next, run the server with this command

manage.py runserver

After that, you will see a link leading to our application, and it looks like this:

http://127.0.0.1:8000/

Copy and paste it into the browser window to open the application.


Fields ☑

To create your dream house, you have many options to choose from, such as:

  • Lot size in square feet
  • General shape of property
  • Type of dwelling
  • Style of dwelling
  • Physical locations within Ames city limits
  • Type of road access
  • First Floor square feet
  • Second floor square feet
  • Number of bedrooms above basement level
  • Number of kitchens
  • Total rooms above grade (does not include bathrooms)
  • Full bathrooms above grade
  • Basement quality
  • Total square feet of basement area
  • Basement full bathrooms
  • Garage type
  • Size of garage in square feet
  • Type of roof
  • Roof material
  • Type of foundation
  • Paved driveway
  • Open porch area in square feet
  • Pool area in square feet
  • Heating quality and condition
  • Central air conditioning
  • Electrical system

User authentication 🔑

User authentication was created to reduce the risk of database hacking.
It is a very simple login along with account registration.
Below, you can see how both sides look.

Login

Registation

App appearance 🔍

The application is divided into three parts:

  • Main part, where you choose from among the given fields which house we are interested in.
  • Predictions part, where all our created houses are displayed together with their estimated price.
  • Details part, where you can see our selections when creating the house.

Main

After clicking the Make prediction button, you will be taken to the next page, where previous predictions are displayed. and your last prediction will be displayed at the bottom.

If you do not see the gif below, please wait a moment


Predictions and details

To go to the details of the prediction, click on it. It will take you to the next page, where you will find the details.

More images and gifs can be found in the media folder.

About

💲🏡Predictor that has multiple options to choose from database, so you can predict the price of your dream home.


Languages

Language:Python 83.6%Language:HTML 16.4%Language:Procfile 0.0%