Machine Learning & Business Intelligence Case Study
Residential property prices vary significantly based on location, house size, condition, and neighborhood characteristics. This project helps investors and decision-makers estimate fair property values, understand pricing risk, and identify high-potential investment opportunities using historical housing data.
The analysis focuses on reducing uncertainty in property valuation and highlighting cases where renovation or mispricing can create strong returns.
21,000+ residential property sales records, individual transaction-level
Python · SQL · XGBoost · Ridge · Power BI · Tableau
XGBoost R² 95.15% · RMSE 11.73% on held-out test data
Renovation ROI signals · risk flagging · undervalued property identification
Housing sales data capturing property-level transactions with rich structural, locational, and condition attributes.
Key Features
Data Challenges
Initial EDA confirmed the dataset is suitable for predictive modeling and investment analysis after applying log transformations and categorical zipcode encoding.
XGBoost was selected as the primary model for its ability to capture complex non-linear pricing patterns. Ridge Regression served as an interpretable benchmark for stakeholder communication.
Conducted detailed Exploratory Data Analysis (EDA) to understand key price drivers and feature distributions.
Applied log transformations to reduce skewness and stabilize variance across price and size features.
Encoded zipcode categorically to capture neighbourhood-level pricing effects as a model signal.
Used OLS regression as a diagnostic tool to test feature significance and price driver relationships.
Built and compared 5 regression models: Ridge, Huber, ElasticNet, Random Forest, and XGBoost — evaluated on RMSE and R².
Winner row highlighted — XGBoost selected as final production model.
| Model | Role | R² | RMSE | Notes |
|---|---|---|---|---|
| Ridge Regression | Baseline / BI benchmark | 88.88% | 17.76% | Interpretable; used for stakeholder dashboards |
| Huber Regression | Outlier-robust baseline | — | — | Reduces influence of price outliers |
| ElasticNet Regression | Regularised alternative | — | — | L1+L2 combined regularisation |
| Random Forest | Ensemble benchmark | — | — | Strong non-linear baseline |
| XGBoost Regression Best | Final production model | 95.15% | 11.73% | Highest accuracy; captures complex pricing patterns |
Final model evaluation on held-out test data.
Power BI dashboards translate model outputs into clear, investment-focused insights — allowing investors to explore risk and opportunity interactively rather than relying on static predictions.
Tableau was used to validate model behavior on unseen data — comparing actual vs predicted prices, checking error distribution across segments, and ensuring results align with market logic before business deployment.
Findings from EDA, model outputs, and dashboard exploration that inform investment decision-making.
Most properties are priced close to expectations, indicating a broadly stable and predictable market.
Pricing uncertainty increases significantly for very small, very old, or unusual homes — higher investment risk.
Low-condition homes appear riskier due to low transaction volume and high price variation.
Standard, well-maintained homes show the most predictable pricing behavior — lower risk profile.
Properties that differ significantly from their neighborhood averages carry meaningfully higher investment risk.
Low-condition homes with strong location or large land area often present high-return renovation potential.
Actionable strategies for investors and decision-makers based on model outputs and dashboard analysis.
Apply these to acquisition screening and portfolio decisions.
Use renovation potential signals from the dashboard to identify undervalued properties before market correction.
Focus renovation investments on low-condition homes with strong location fundamentals and large lot sizes.
Always compare target properties against neighbourhood averages before committing to a purchase price.
Apply caution when investing in very small or very old homes — model error is highest in these segments.
Prioritise standard property types for lower-risk investments with more predictable return profiles.
Deploy dashboards as a live decision-support tool during acquisition screening and portfolio review cycles.
Expected outcome: Improved pricing accuracy, better risk control, and higher ROI from renovation-driven investments.