Skip to content

House Price Prediction Using Machine Learning: A project using Linear Regression, Ridge Regression, Decision Tree, and Gradient Boosting models to predict property values based on key features. Includes EDA, data preprocessing, and performance comparison. **Skills:** Python, Machine Learning, Data Analysis, Regression Models, EDA

Notifications You must be signed in to change notification settings

Y-R-A-V-R-5/House-Price-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏑 House Price Prediction Using Machine Learning

πŸš€ Project Overview

This project aims to predict house prices using Machine Learning algorithms based on features such as square footage, bedrooms, bathrooms, year built, and neighborhood. The model assists real estate stakeholders in making data-driven decisions.

πŸ“Š Dataset Information

  • Records: 50,000 houses
  • Features: Square footage, bedrooms, bathrooms, neighborhood, year built
  • Target: House sale price

πŸ› οΈ Tools & Libraries Used

  • Python (Pandas, NumPy, Matplotlib, Seaborn, Scikit-learn)
  • Jupyter Notebook for analysis and visualization

πŸ“ˆ Workflow

  1. Data Preprocessing:

    • Removed outliers using IQR method
    • Encoded categorical features (Neighborhood) using Label Encoding
    • Scaled numerical features using Min-Max scaling
  2. Exploratory Data Analysis (EDA):

    • Visualized price distributions and feature correlations
    • Analyzed trends like square footage vs. price and year built vs. price
  3. Model Training & Evaluation:

    • Models Implemented:
      βœ”οΈ Linear Regression
      βœ”οΈ Ridge Regression
      βœ”οΈ Decision Tree Regressor
      βœ”οΈ Gradient Boosting Regressor
    • Evaluation Metrics: RΒ² Score, MAE, MSE, RMSE

πŸ“Š Model Performance

Model RΒ² Score MAE RMSE
Linear Regression 0.57 $39,866 $49,681
Ridge Regression 0.57 $39,866 $49,680
Decision Tree 0.56 $40,026 $49,886
Gradient Boosting 0.57 $39,890 $49,730

πŸ’‘ Key Insights

  • Square footage is the most significant predictor of house prices
  • Neighborhood has a strong impact on pricing trends
  • Gradient Boosting provides the best performance among non-linear models

πŸ’¬ Connect with Me


Β© 2025 Adithya Vardhan Reddy

About

House Price Prediction Using Machine Learning: A project using Linear Regression, Ridge Regression, Decision Tree, and Gradient Boosting models to predict property values based on key features. Includes EDA, data preprocessing, and performance comparison. **Skills:** Python, Machine Learning, Data Analysis, Regression Models, EDA

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published