A machine learning project for predicting house prices in Bengaluru using a trained Random Forest model.
This repository contains the data, preprocessing, model artifacts, and Streamlit app for a house price prediction application.
app.py- Main Streamlit app for user input and price prediction.Bengaluru_House_Data.csv- Original dataset used for analysis and model training.cleaned_df.csv- Cleaned dataset prepared for training.model_columns.joblib- Saved list of feature columns used by the model.rf_model.joblib- Saved Random Forest regression model.requirements.txt- Python dependencies needed to run the app.eda.ipynb- Exploratory data analysis notebook.design.streamlit/config.toml- Streamlit app configuration.
-
Clone the repository:
git clone https://github.com/sumith25-dev/House-Price-Prediction.git cd "House Price Prediction"
-
Create and activate a virtual environment:
python -m venv venv .\venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
Run the Streamlit app:
streamlit run app.pyThen open the provided local URL in your browser to use the house price prediction interface.
- The model is trained for Bengaluru house pricing and may not generalize to other cities.
- Keep the
model_columns.joblibandrf_model.joblibfiles in the same directory asapp.py.