House Price Prediction
A machine learning project that estimates house prices based on property characteristics such as living area, number of bedrooms, bathrooms, location-related features, and other housing attributes.
overview
Estimating a property's value requires understanding how different features influence its price. This project builds a machine learning pipeline that analyzes housing data, handles missing values and outliers, and transforms raw property attributes into meaningful features. It creates additional variables such as total square footage, total bathrooms, and house age to capture relationships that may influence property prices. Recursive Feature Elimination (RFE) is then used to select relevant features before training and comparing multiple regression models. After hyperparameter tuning and evaluation, Gradient Boosting Regressor achieved the best performance, with an R² score of 0.89 on the test set.
highlights
- Built a complete machine learning pipeline to estimate house prices from property characteristics.
- Cleaned housing data by handling missing values, detecting outliers, and preparing numerical features.
- Created domain-specific features such as total square footage, total bathrooms, house age, and years since renovation.
- Applied Recursive Feature Elimination (RFE) to identify important features and reduce dimensionality.
- Trained and compared Linear Regression, SGD, Random Forest, Gradient Boosting, and XGBoost regression models.
- Used RandomizedSearchCV for hyperparameter tuning and evaluated models using RMSE, MAE, and R².
- Achieved an R² score of 0.89 on the test set using Gradient Boosting Regressor.