See for yourself
▶ https://hppredictor.herokuapp.com ◀
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.
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.
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 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.
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.
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.
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.