How ishita3120/banglore-house-price-prediction works
This is a Bangalore house-price prediction web application. Users choose a location and enter area, BHK, and bathroom counts; the browser requests locations and submits those inputs, Flask delegates prediction to a utility that loads the saved model and feature columns, and the result is displayed in lakh. The README also describes the data-preparation and model-training workflow, represented here at a high level because the notebook was not sampled. The browser’s /api URLs differ from Flask’s routes; the source comments mention a reverse proxy, but its configuration is not present in the tree.
Main entry points: server.py HTTP API · util.py Feature encoding and prediction · app.html Prediction interface · app.js Form and API logic
Components 9
Web interface
- Prediction interface
client/app.html - Form and API logic
client/app.js - Interface styling
client/app.css
Prediction service
- HTTP API
server/server.py - Feature encoding and prediction
server/util.py
Model assets and workflow
- Feature columns
server/artifacts/columns1.json - Trained regression model
server/artifacts/HousePricePredicyionBanglore.pickle - Data preparation and training
model/HousePricePredicyionBanglore.ipynb
Other components
- Home buyer
Connections 10
- Home buyer → Prediction interface: enters inputs
- Prediction interface → Form and API logic: runs handlers
client/app.js - Form and API logic → HTTP API: requests locations
client/app.js - Form and API logic → HTTP API: posts prediction inputs
client/app.js - HTTP API → Feature encoding and prediction: delegates prediction
server/server.py - HTTP API → Feature encoding and prediction: gets locations
server/server.py - Feature encoding and prediction → Feature columns: loads feature columns
server/util.py - Feature encoding and prediction → Trained regression model: loads and predicts
server/util.py - Data preparation and training → Trained regression model: produces model
- Prediction interface → Interface styling: uses styling