Code Monkey home page Code Monkey logo

realestate_predictiveanalysis_pune's Introduction

Real Estate Price Prediction for Pune Region in India

Project Overview

Objective

In this project, we aim to predict house prices for 200 apartments in Pune city. We will use various regression models, such as Linear Regression, Random Forest, XGBoost, and multi-layer perceptron (MLP) models using scikit-learn and TensorFlow. The goal is to help predict house prices based on different property features.


Data

We have a dataset with around 200 rows and 17 variables that influence the target variable, which is the house price.


Tech Stack

  • Language: Python
  • Libraries: scikit-learn, pandas, NumPy, matplotlib, seaborn, xgboost

Project Phases

1. Data Cleaning

  • Import required libraries and load the dataset.
  • Perform preliminary data exploration.
  • Identify and remove outliers.
  • Remove redundant feature columns.
  • Handle missing values.
  • Regularize categorical columns.
  • Save the cleaned data.

2. Data Analysis

  • Import the cleaned dataset.
  • Convert binary columns to dummy variables.
  • Perform feature engineering.
  • Conduct univariate and bivariate analysis.
  • Check for correlations.
  • Select relevant features.
  • Scale the data.
  • Save the final updated dataset.

3. Model Building

  • Prepare the data.
  • Split the dataset into training and testing sets.
  • Build various regression models, including Linear Regression, Ridge Regression, Lasso Regressor, Elastic Net, Random Forest Regressor, XGBoost Regressor, K-Nearest Neighbours Regressor, and Support Vector Regressor.

4. Model Validation

  • Assess model performance using metrics like Mean Squared Error (MSE) and R2 score.
  • Create residual plots for both training and testing data.

5. Hyperparameter Tuning

  • Perform grid search and cross-validation for the chosen regressor.

6. Making Predictions

  • Fit the model and make predictions on the test data.

7. Feature Importance

  • Check for feature importance to identify the most influential factors in predicting house prices.

8. Model Comparison

  • Compare the performance of different models to choose the best one.

9. MLP (Multi-Layer Perceptron) Models

  • Build MLP Regression models using both scikit-learn and TensorFlow.

Getting Started

To run this project, follow these steps:

  1. Install the required libraries listed in requirements.txt.
  2. Execute the code in the src folder.

realestate_predictiveanalysis_pune's People

Contributors

ajnavneet avatar

Stargazers

Suhaib Shekfeh avatar

Watchers

 avatar

Forkers

aniketgayke13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.