Skip to content

GodXSpell/House_Prediction_Model-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Advanced House Price Prediction Model

Overview

This repository contains an advanced house price prediction project using synthetic data, comprehensive preprocessing, multiple machine learning models, and enhanced visualizations. The code demonstrates best practices in data science and machine learning workflows.

Features

  • Synthetic housing dataset generation
  • Advanced preprocessing: KNN imputation, outlier detection, feature engineering
  • Multiple regression models: Linear Regression, Random Forest, Gradient Boosting
  • Hyperparameter tuning with GridSearchCV
  • 9 advanced visualizations for model analysis
  • Performance metrics: RMSE, MAE, R²

Technologies Used

  • Python 3.7+
  • scikit-learn
  • pandas
  • numpy
  • matplotlib
  • seaborn

Getting Started

Prerequisites

Install required packages:

pip install pandas numpy scikit-learn matplotlib seaborn

Usage

Clone the repository and run the model:

git clone https://github.com/yourusername/house-price-prediction.git
cd house-price-prediction
python HousePredictionModel.py

Visualizations

The model generates the following plots:

  1. Model Performance Comparison (RMSE)
  2. R² Score Comparison
  3. Actual vs Predicted (Best Model)
  4. Residual Plot
  5. Feature Correlation Heatmap
  6. Price Distribution
  7. Feature Importance (Random Forest)
  8. Price vs Square Footage (Colored by Grade)
  9. Model Error Distribution (Box Plot)

Acknowledgments

Special Thanks

  • Srihari Sir (IIT Guwahati Faculty):
    Most of the code and structure in this project was created by Srihari Sir, who generously included spaces and comments to teach us advanced concepts.
    His expertise and guidance were invaluable, and this project would not be possible without his foundational work.

  • Masai School:
    Thank you to Masai for providing this learning opportunity and a supportive environment for growth in data science and machine learning.

Note

This project is not entirely my own work. The majority of the code was written by Srihari Sir, with educational gaps and explanations for us to learn and fill in. My contribution was primarily in learning, understanding, and completing the exercises provided.

License

MIT


Thank you, Srihari Sir and Masai School, for this opportunity and for making advanced machine learning accessible and enjoyable!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages