Downloads · 30 days
0
sujoy0011/Bengaluru_House_Price_Prediction
Bengaluru_House_Price_Prediction is a machine learning model from sujoy0011. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This project aims to predict house prices in Bangalore using a machine learning model. The model takes into account various features such as location, total square footage, number of bathrooms, and number of bedrooms…
Downloads · 30 days
0
Access
Public
Updated Jul 29, 2024
Repo size
183 MB
Likes
0
Public
Click a slice to open those files.
.pkl183 MB · 99%
From the Hugging Face model README
This project aims to predict house prices in Bangalore using a machine learning model. The model takes into account various features such as location, total square footage, number of bathrooms, and number of bedrooms (BHK). The project includes a web application built using Streamlit to provide an interactive user interface for making predictions.
Some files are not available on GitHub due to the large file size. you can get it HERE
The project consists of the following files and directories:
app.py: The main script for the Streamlit web application.Bengaluru_House_prediction.ipynb: Jupyter notebook containing the data analysis and model training process.random_forest_house_price_model.pkl: Serialized machine learning model. NOT AVAILABLE ON GITHUB DUE TO THE LARGE FILE SIZE.dataset.pkl: Serialized dataset used for training the model.Clone the repository:
git clone https://github.com/yourusername/BangaloreHousePricePrediction.git
cd BangaloreHousePricePrediction
Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
Install the required packages:
pip install -r requirements.txt
Ensure you have Streamlit installed:
pip install streamlit
To run the web application, execute the following command:
streamlit run app.py
This will start the Streamlit server, and you can access the web application in your browser at http://localhost:8501.
The dataset used for this project is a comprehensive collection of housing data from Bangalore. It includes features such as location, total square footage, number of bathrooms, and number of bedrooms (BHK). The dataset is serialized and stored in dataset.pkl.
The machine learning model used in this project is a Random Forest Regressor. The model is trained on the dataset to predict house prices based on the input features. The trained model is serialized and stored in random_forest_house_price_model.pkl.
The web application allows users to input the location, total square footage, number of bathrooms, and number of bedrooms to get a predicted house price in Bangalore. The predicted price is displayed in lakhs.