Housing Price Estimation
Using Machine Learning
A comparative study of Linear Regression, Decision Trees, XGBoost, and Ensemble models for predicting residential property values using real-world housing data.
Model Performance Table
| Rank | Model | RMSE ($) | MAE ($) | R² Score | Assessment |
|---|---|---|---|---|---|
| 1st | XGBoost |
6,509.66 | 2,083.93 | 0.9945 | Excellent |
| 2nd | Ensemble Model |
7,007.30 | 1,202.48 | 0.9936 | Excellent |
| 3rd | Decision Tree |
13,426.56 | 1,518.85 | 0.9765 | Good |
| 4th | Linear Regression |
30,580.89 | 15,701.19 | 0.8781 | Limited |
Algorithm Details
Literature Comparison
| Study | Best Model | R² Score | Key Notes |
|---|---|---|---|
| This Project | XGBoost | 0.9945 | Lowest RMSE, highest accuracy across all models |
| This Project | Ensemble Model | 0.9936 | Lowest MAE, strong overall generalization |
| Abdul-Rahman et al. | XGBoost | 0.9120 | Boosting models for Kuala Lumpur market |
| Shalini et al. | Random Forest | 0.9656 | Focused on preprocessing and data-driven pipeline |
| Z. Li | Decision Tree | 0.8016 | Comparative study of regression models |
House Price Estimator
Feature Importance
Engineered Features
6-Stage Development Pipeline
• Data Preprocessing — missing values, inconsistent formats, and outliers required careful handling
• Feature Selection — identifying high-impact features and managing multicollinearity
• Computational Resources — XGBoost and ensemble training caused memory issues on limited hardware
• Overfitting — some models trained well but failed to generalize to test data
• Frontend Integration — connecting ML backend with interactive web dashboard
• Data Enrichment — proximity to schools, transport, hospitals; mortgage rates; demand trends
• Advanced Features — total livable area, renovation history, crime rates, air quality
• Neural Networks — Deep learning for complex non-linear relationships
• Web App Deployment — Flask or FastAPI backend for real-time predictions
• Model Monitoring — drift detection and retraining pipeline for market adaptation