Investment Analytics Project

Residential Real Estate
Price Prediction

Machine Learning & Business Intelligence Case Study

SQL Python XGBoost Ridge Regression Power BI Tableau
21K+
Property Records
95.15%
XGBoost R²
5
Models Compared
2
BI Dashboards
11.73%
XGBoost RMSE

Project Overview

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.

Dataset

21,000+ residential property sales records, individual transaction-level

Tools Used

Python · SQL · XGBoost · Ridge · Power BI · Tableau

Best Result

XGBoost R² 95.15% · RMSE 11.73% on held-out test data

Business Value

Renovation ROI signals · risk flagging · undervalued property identification

Dataset & Features

Housing sales data capturing property-level transactions with rich structural, locational, and condition attributes.

Key Features

Living area (sqft) & lot size Bedrooms & bathrooms Property condition & grade Age & renovation history Location & zipcode encoding Waterfront attributes Neighborhood indicators

Data Challenges

Outliers in price, size & age High variance in very old/small homes Non-linear price relationships Neighbourhood-level pricing effects

Initial EDA confirmed the dataset is suitable for predictive modeling and investment analysis after applying log transformations and categorical zipcode encoding.

Modeling & Statistical Validation

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.

Modeling Approach

1

Conducted detailed Exploratory Data Analysis (EDA) to understand key price drivers and feature distributions.

2

Applied log transformations to reduce skewness and stabilize variance across price and size features.

3

Encoded zipcode categorically to capture neighbourhood-level pricing effects as a model signal.

4

Used OLS regression as a diagnostic tool to test feature significance and price driver relationships.

5

Built and compared 5 regression models: Ridge, Huber, ElasticNet, Random Forest, and XGBoost — evaluated on RMSE and R².

Models Compared

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

Model Performance

Final model evaluation on held-out test data.

95.15%
R² Score
XGBoost — Primary Model
11.73%
RMSE
XGBoost — Primary Model
88.88%
R² Score
Ridge — BI Benchmark
17.76%
RMSE
Ridge — BI Benchmark
Model Performance Comparison
Model Performance Comparison
Residual Plot
Residual Analysis Plot

Interactive Power BI Analytics

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.

Error & risk distribution analysis Size-based & age-based pricing uncertainty Renovation potential identification Plain-language insight tooltips
Power BI Overview Dashboard
Overview Dashboard
Error Analysis Dashboard
Error Analysis
Deep Dive Dashboard
Deep Dive Analysis
Key Insights Dashboard
Key Insights & Decision

Tableau – Model Validation

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.

Tableau Model Reliability Dashboard
Model Reliability & Pricing Confidence
Tableau Risk Analysis Dashboard
Risk Analysis

Key Insights

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.

Business Recommendations

Actionable strategies for investors and decision-makers based on model outputs and dashboard analysis.

Investment Strategy Recommendations

Apply these to acquisition screening and portfolio decisions.

1

Use renovation potential signals from the dashboard to identify undervalued properties before market correction.

2

Focus renovation investments on low-condition homes with strong location fundamentals and large lot sizes.

3

Always compare target properties against neighbourhood averages before committing to a purchase price.

4

Apply caution when investing in very small or very old homes — model error is highest in these segments.

5

Prioritise standard property types for lower-risk investments with more predictable return profiles.

6

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.