8000
Skip to content < 8000 span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full">

HardiPalan/Bangalore_home_price_prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Bangalore Home Price Prediction

This project aims to predict home prices in Bangalore based on various features such as location, square footage, number of bedrooms (BHK), and bathrooms. We have used machine learning models to build a predictive system using historical data to assist users in estimating house prices.

Table of Contents

Project Overview

Real estate prices in Bangalore have been volatile, with significant variations based on location and other factors. In this project, a machine learning model is built to predict house prices in Bangalore using data from various sources. The goal is to provide users with a tool to estimate the prices based on available property details.

Dataset

The dataset used in this project contains the following key features:

  • Location: Locality where the property is located
  • Total sqft: Total area of the property in square feet
  • Bath: Number of bathrooms
  • BHK: Number of bedrooms, halls, and kitchens
  • Price: Price of the property (dependent variable)

Exploratory Data Analysis

A detailed Exploratory Data Analysis (EDA) was performed to understand the distribution and relationships of the features. Key steps include:

  • Handling missing values
  • Removing outliers based on domain knowledge (e.g., unrealistic price per square foot)
  • Visualizing correlations between features using heatmaps
  • Studying location-based price trends

Model Building

Several machine learning algorithms were employed to build predictive models, including:

  1. Linear Regression: Simple and interpretable model for a baseline prediction.
  2. Lasso Regression: To manage overfitting and select important features.
  3. Decision Tree: For capturing non-linear relationships in the data.

Key evaluation metrics:

  • R² Score
  • Mean Absolute Error (MAE)

Results

The Random Forest model provided the best results in terms of prediction accuracy. The final model metrics are as follows:

  • R² Score: 0.84
  • Mean Absolute Error (MAE): 11.2%

This suggests that the model can explain 84% of the variance in house prices, with an average error of 11.2% in predicting the prices.

About

Bangalore Home Price Prediction uses machine learning models to predict housing prices based on features like location, size, and number of bedrooms. The project includes data preprocessing, exploratory analysis, and model building with algorithms such as Linear Regression to achieve high accuracy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

0