Machine learning research, team of three
Where does rent eat the most income in Canada?
Housing burden is the share of disposable income a household spends on shelter. We built it as a target from proprietary Environics Analytics data covering 56,857 dissemination areas, then asked which places carry the most and why.
The decision I'd point to first is the one that made the results worse on paper. We removed 56 features that were mathematically tied to shelter spending or income. Leaving them in would have let the model look accurate by reading the answer back to us. Every cleaning step was fitted on training data only, for the same reason.
We compared a regularised linear model with XGBoost, used K-Means to find a small, high-burden segment of 973 areas, and used SHAP to see what drove predictions: household income, household size, owner-occupied share and dwelling running costs. One top feature, a discretionary spending category, reads as a sign of tight budgets, not a cause, and the report says so.
Python, Pandas, Scikit-Learn, XGBoost, K-Means, SHAP
0.26
Below 0.30, the usual line for housing stress.
Area averages from the report across 56,857 dissemination areas. The model works at the area level; it does not predict any individual household's finances.
Test-set R². XGBoost explained more variation and cut mean absolute error by more than half (0.016 to 0.0075).