This project builds a real estate price prediction website for Bengaluru using machine learning. It follows a step-by-step process:
Model Development: Trains a Linear Regression model on Bengaluru home price data from Kaggle.
Backend Development: Uses Python Flask to serve HTTP requests with the trained model.
Frontend Development: An interactive website built with HTML, CSS, and JavaScript.
- Python for backend development and machine learning
- Flask for API server
- NumPy & Pandas for data processing
- Matplotlib for data visualization
- Scikit-learn for model training
- Jupyter Notebook for experimentation
- HTML/CSS/JavaScript for UI
BHP/
│── client/ # Frontend (HTML, CSS, JS)
│── model/ # Machine learning model files
│── server/ # Backend API using Flask
│ │── artifacts/ # Saved model & column metadata
│ │── util/ # Utility functions
│ └── app.py # Flask API entry point
│── bengaluru_house_prices.csv # Dataset
│── README.md # Project documentation
git clone https://github.com/your-username/BHP.git
cd BHP
python -m venv venv
source venv/bin/activate # Mac/Linux
venv\Scripts\activate # Windows
pip install -r server/requirements.txt
python server/app.py
The server will start at http://127.0.0.1:5000.
- Open client/index.html in your browser.
- Enter details (sqft, BHK, bath, location) and get predicted prices!
- Predicts house prices based on input parameters
- Supports multiple locations in Bengaluru
- Clean and interactive UI for easy predictions
- API-based architecture for scalability
This project is open-source under the MIT License.