YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

Bangalore House Price Prediction

Overview

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

Table of Contents

Project Structure

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.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/BangaloreHousePricePrediction.git
    cd BangaloreHousePricePrediction
    
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate   # On Windows, use `venv\Scripts\activate`
    
  3. Install the required packages:

    pip install -r requirements.txt
    
  4. Ensure you have Streamlit installed:

    pip install streamlit
    

Usage

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.

Dataset

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.

Model

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.

Screenshot 2024-06-29 111415

output

Results

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.

Screenshot 2024-06-28 225732

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support