Get instant price estimates for properties in Bengaluru.
Click here to use the deployed app!
This project builds a machine learning model to predict house prices in Bangalore based on factors like location, square footage, and the number of rooms. The model is deployed as a web app using Flask, HTML, and CSS, and is accessible online.
- Dataset used:
Bengaluru_House_Data.xls - Location: Bangalore
- Features:
- Total square footage
- BHK (bedrooms, hall, kitchen)
- Bathrooms
- Location
- Target: House price (in Lakhs)
Install the necessary packages with the following command:
pip install -r requirements.txt
- Open the Notebook: Launch the Jupyter Notebook and open
Bengaluru house price.ipynb. - Run the Cells: Execute each cell step-by-step to load data, preprocess it, train the model, and evaluate performance.
- Predict Prices: Use the trained model to predict prices by running the final cell.
- Run the Web App Locally:
- Make sure you have
model.pklandcolumns.pklgenerated from the notebook. - Run:
python app.py - Open http://127.0.0.1:5000/ in your browser.
- Make sure you have
- Use the live app here: https://bengaluru-house-price-prediction-acly.onrender.com
This app is deployed for free on Render:
- All code and assets are in this repository.
- The
Procfileandrequirements.txtare set up for easy deployment. - Static files (including background image) are in the
static/folder.
- Python
- Flask for the web app
- Pandas and NumPy for data manipulation
- Scikit-Learn for model building and evaluation
- Bootstrap and custom CSS for UI
© 2025 Bengaluru House Price Predictor