Skip to content

Latest commit

Β 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

🏠 Bengaluru House Price Predictor

A web-based application built using Flask that predicts house prices in Bengaluru based on user input such as location, number of bedrooms (BHK), bathrooms, and total square footage. It uses a trained machine learning regression model and serves predictions in real-time.

πŸš€ Features

  • πŸ“ Location selection using a dynamic dropdown
  • πŸ›οΈ Input fields for BHK, bathrooms, and total area
  • πŸ“ˆ Real-time house price prediction
  • 🎨 Clean and responsive frontend using Bootstrap and Jinja2 templates
  • πŸ”„ AJAX request for smoother user experience (without page reload)

πŸ› οΈ Tech Stack

  • Backend: Flask (Python), Scikit-learn (ML Model)
  • Frontend: HTML5, CSS3, Bootstrap 5, Jinja2
  • ML: Pre-trained regression model with feature engineering and label encoding

πŸ“‚ Project Structure

project/

β”‚

β”œβ”€β”€ app.py # Flask backend with routing and prediction logic

β”œβ”€β”€ model/ # Folder containing the trained ML model (e.g., model.pkl)

β”œβ”€β”€ templates/

β”‚ └── index.html # Main HTML file with Bootstrap and dynamic Jinja2 rendering

β”œβ”€β”€ static/ # Static files

└── requirements.txt # List of Python dependencies

πŸ” Prediction Logic Accepts POST request from the form via AJAX

Parses user inputs (location, BHK, bath, sqft)

Processes input and passes it to the loaded regression model

Returns the predicted price and displays it dynamically on the webpage

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages