bangalore-home-price-prediction
A Machine Learning web app to predict Bangalore home prices. Frontend built with HTML, CSS, JavaScript, and jQuery. Backend powered by Flask (Python).
bangalore-home-price-prediction/
│── backend/
│ ├── server.py # Flask server
│ ├── util.py # Helper functions for model
│ ├── artifacts/ # Trained model + columns JSON
│ │ ├── bangalore_home_prices_model.pickle
│ │ └── columns.json
│ └── requirements.txt # Backend dependencies
│
│── frontend/
│ ├── index.html # Main web page
│ ├── app.css # Styling
│ ├── app.js # Client-side logic
│ └── background-house.webp (optional image)
│
│── .gitignore
│── README.md
-
Clone repo:
git clone https://github.com/<your-username>/bangalore-home-price-prediction.git cd bangalore-home-price-prediction/backend
-
Create virtual environment:
python -m venv venv source venv/bin/activate # Linux/Mac venv\Scripts\activate # Windows
-
Install dependencies:
pip install -r requirements.txt
-
Run server:
python server.py
-
Open
frontend/index.htmlin browser directly, OR run using a simple local server:cd frontend python -m http.server 8080 -
Make sure backend is running on port
5000.
# 🏠 Bangalore Home Price Prediction
A machine learning web app that predicts the price of homes in Bangalore.
## 🚀 Features
- Predicts home prices based on:
- Area (sqft)
- Bedrooms (BHK)
- Bathrooms
- Location
- Interactive UI with dark theme
- Real-time error validation
- Flask backend with trained ML model
## 📂 Project Structure
- `backend/` → Flask server + ML model
- `frontend/` → HTML, CSS, JS UI
## 🛠 Tech Stack
- **Frontend:** HTML, CSS, JavaScript (jQuery)
- **Backend:** Flask (Python)
- **ML Model:** scikit-learn
## ⚡ How to Run
### Backend
```bash
cd backend
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r requirements.txt
python server.pycd frontend
python -m http.server 8080Then open http://localhost:8080 in your browser.
Jeswin Thomas Jestin
Here are some screenshots of the application:

