← All projects
Classification · Georgia Tech ISYE 6740

House Crash
Risk

If a downturn shaped like 2008 began today, which California counties would be hit hardest, and how fast would they recover? Classifiers trained on how the 2008 crash played out across 99 counties in nine western states, then run forward on today's data.

Pythonscikit-learnimbalanced-learn (SMOTE)GeoPandasCensus API

a "what if", not a forecast that a crash is coming

01 · The question

Who gets hit hardest?

The 2008 crash didn't land evenly. Some counties barely dipped, others lost more than a third of their home value within a few years. This project asks whether a county's situation before the crash (its housing costs, income, unemployment and crime relative to the rest of its state) predicts how badly prices fell in each of the four years after.

There was no ready-made dataset, so I built one: 99 counties across California, Washington, Oregon, Colorado, Arizona, Utah, New Mexico, Nevada and Wyoming, from Census and ACS data plus crime statistics from each state's public-safety bureau and the FBI.

02 · Method

From 2007 to four years on.

Features9 relative signalsEach county against its state: home price, income, rent and mortgage burden, unemployment, crime.
Target4 impact classesPrice change from 2007: rose, fell up to 17%, 17–34%, or more than 34%.
BalanceSMOTESynthetic minority samples, on the training split only.
Models3 classifiersLogistic regression, random forest and a linear SVM, one per year.
ChainYears 1 → 4Each year's model also sees the earlier years' impact, so recovery paths carry forward.
03 · Results

How well it classifies.

Accuracy on held-out countiesYear 1Year 2Year 3Year 4
Linear SVM0.850.800.800.90
Logistic regression0.850.700.850.85
Random forest0.800.550.850.85

The SVM was best or tied in three of four years. SMOTE raised year-1 accuracy from 0.80 to 0.85 for logistic regression and from 0.75 to 0.80 for the random forest.

Cost burden leads

The random forest ranked mortgage-to-income ratio highest, then unemployment and the gap between mortgage and rent burden. Crime and income mattered little on their own.

The linear models disagree

Logistic regression and the SVM leaned more on a county's home-price premium and violent crime, a reminder that "what matters" depends on the model asked.

California stands apart

A PCA of the state profiles puts California on its own, while Arizona, Nevada, New Mexico and Utah overlap.

Year 2 is the hard one

The second year after the crash, when declines spread unevenly, was hardest to predict. The random forest fell to 0.55.

04 · Projection

California, if it happened again.

Projected impact by California county, year 1 (2024) Projected impact by California county, year 2 (2025) Projected impact by California county, year 3 (2026) Projected impact by California county, year 4 (2027)

Running the chained models on 2023 data for 30 California counties, no county recovers within four years. The classes measure cumulative price change since the downturn began, and every county either holds its class or slips further. The coast is hit hardest: Los Angeles, Orange, San Diego, the Bay Area counties, Monterey, Santa Cruz and Ventura move from low to medium declines, and San Luis Obispo, Santa Barbara, Sonoma and Mendocino reach large declines by year 4.

Inland counties such as Riverside, San Bernardino, Sacramento and Stanislaus see prices rise in year 1 and only low declines after. That's the reverse of 2008, when the Inland Empire was among the hardest-hit regions. It likely reflects what the model keys on: today's home-price premium and cost burden, which are now highest on the coast. A few jumps, such as Shasta going from low to large in the final year, are worth treating skeptically given how errors compound along the chain.

Caveats

About 100 counties is a small sample for four classes, and each held-out county is worth 5 points of accuracy, with a single train/test split rather than cross-validation. Crime data came from nine sources with different conventions, county boundaries have shifted since 2007, and the model learned from one historical event. A natural next step is zip-level data, a continuous target and more than one recession.