Skip to content

piyush10-08-1998/Housing-Price-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🏠 Housing Price Prediction

This is a beginner-friendly machine learning project that predicts housing prices using various features of a house (e.g., size, bedrooms etc). The project includes data cleaning, feature encoding, model training, and evaluation.


πŸ“Š Dataset

The dataset contains housing features such as:

  • Area
  • Location on main road
  • Number of bedrooms and bathrooms
  • Furnishing status
  • etc

βœ… All categorical data is label-encoded for model training.


πŸ§ͺ Technologies Used

  • Python 🐍
  • Pandas & NumPy (for data manipulation)
  • Matplotlib & Seaborn (for visualization)
  • Scikit-learn (for ML modeling and evaluation)
  • Jupyter Notebook (for development)

πŸ” Exploratory Data Analysis (EDA)

  • Checked for missing values
  • Visualized price distribution
  • Generated a correlation heatmap to find the most relevant features

🧠 Model

  • Linear Regression was used to predict housing prices.
  • Evaluated using:
    • Mean Absolute Error (MAE)
    • Mean Squared Error (MSE)
    • RΒ² Score

πŸ“ˆ Results

  • Mean Absolute Error (MAE): 970043.40 Mean Squared Error (MSE): 1754318687330.66 RΒ² Score: 0.65

πŸ” Not optimized β€” this is a baseline model. Future improvements can include feature engineering, outlier handling, and advanced models like Random Forest or XGBoost.


πŸš€ How to Run

  1. Clone this repository
  2. Open the notebook in Jupyter or VS Code
  3. Run each cell to follow the full workflow

πŸ™Œ Acknowledgements


πŸ“¬ Contact

Created by Piyush
πŸ“§ Drop a message or connect with me on LinkedIn


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published