sujoy0011 commited on
Commit
36e758e
·
verified ·
1 Parent(s): 516dc55

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +79 -3
README.md CHANGED
@@ -1,3 +1,79 @@
1
- ---
2
- license: unknown
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # Bangalore House Price Prediction
3
+
4
+ ## Overview
5
+
6
+ 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.
7
+
8
+ >Some files are not available on GitHub due to the large file size. you can get it [HERE](https://huggingface.co/sujoy0011/Bengaluru_House_Price_Prediction/tree/main)
9
+
10
+ ## Table of Contents
11
+
12
+ - [Overview](#overview)
13
+ - [Project Structure](#project-structure)
14
+ - [Installation](#installation)
15
+ - [Usage](#usage)
16
+ - [Dataset](#dataset)
17
+ - [Model](#model)
18
+ - [Results](#results)
19
+
20
+ ## Project Structure
21
+
22
+ The project consists of the following files and directories:
23
+
24
+ - `app.py`: The main script for the Streamlit web application.
25
+ - `Bengaluru_House_prediction.ipynb`: Jupyter notebook containing the data analysis and model training process.
26
+ - `random_forest_house_price_model.pkl`: Serialized machine learning model. `NOT AVAILABLE ON GITHUB DUE TO THE LARGE FILE SIZE.`
27
+ - `dataset.pkl`: Serialized dataset used for training the model.
28
+
29
+ ## Installation
30
+
31
+ 1. Clone the repository:
32
+ ```bash
33
+ git clone https://github.com/yourusername/BangaloreHousePricePrediction.git
34
+ cd BangaloreHousePricePrediction
35
+ ```
36
+
37
+ 2. Create a virtual environment and activate it:
38
+ ```bash
39
+ python -m venv venv
40
+ source venv/bin/activate # On Windows, use `venv\Scripts\activate`
41
+ ```
42
+
43
+ 3. Install the required packages:
44
+ ```bash
45
+ pip install -r requirements.txt
46
+ ```
47
+
48
+ 4. Ensure you have Streamlit installed:
49
+ ```bash
50
+ pip install streamlit
51
+ ```
52
+
53
+ ## Usage
54
+
55
+ To run the web application, execute the following command:
56
+ ```bash
57
+ streamlit run app.py
58
+ ```
59
+
60
+ This will start the Streamlit server, and you can access the web application in your browser at `http://localhost:8501`.
61
+
62
+ ## Dataset
63
+
64
+ 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`.
65
+
66
+ ## Model
67
+
68
+ 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`.
69
+
70
+ ![Screenshot 2024-06-29 111415](https://github.com/dutta-sujoy/Bengaluru-House-Price-Prediction/assets/117010765/6c942892-0705-4597-8b06-e1671b0d61d3)
71
+
72
+ ![output](https://github.com/dutta-sujoy/Bengaluru-House-Price-Prediction/assets/117010765/2e379813-8224-4143-af21-411106957c26)
73
+
74
+
75
+ ## Results
76
+
77
+ 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.
78
+
79
+ ![Screenshot 2024-06-28 225732](https://github.com/dutta-sujoy/Bengaluru-House-Price-Prediction/assets/117010765/6ba49eb0-91db-4cc2-8acd-a3d0a6803639)