R.K. HendersonAI leader · data scientist

Data & decisions / 07

public mortgage data

Mortgage market intelligence

Every U.S. metro scored each month from Census, HMDA and FHFA data, ranked by the strategy weights you choose.

The decisionWhich U.S. markets a mortgage business should grow in, and why.

Lending Decisions 5 stages Synthetic or public data
380+U.S. metro markets scored
Monthlyrebuilt by a scheduled pipeline
3public sources: Census, HMDA, FHFA

01 / Overview

The problem, and the approach.

AThe challenge

Decisions about where to grow often rest on anecdote or a single metric, while the public data that could inform them sits in three agencies’ formats.

BThe approach

A scheduled pipeline pulls Census, HMDA and FHFA data each month and scores 380+ metro markets on five pillars. You set the strategy weights and the rankings rebuild; PCA and K-means group markets into named archetypes, lender shares show who already competes, and an anomaly score flags markets that stand out.

02 / The decision journey

5 decisions, one story.

Each stage asks one business question and answers it with a model you can open and change. Any card opens that stage of the live demo.

  1. 01 Score Where is the mortgage market opening up? Five pillars, your own strategy weights, rankings that rebuild on the spot. Open this stage
  2. 02 Archetypes Which markets behave alike? PCA and K-means group metros into archetypes with plain-English names. Open this stage
  3. 03 Lenders Who already competes there? HMDA lender shares and competitive openness, market by market. Open this stage
  4. 04 Brief What should a leader know about one market? A grounded brief written from that market’s own numbers. Open this stage
  5. 05 Signals Which markets look unusual? Gaps between demand and lending, and an anomaly score for markets that stand out. Open this stage

03 / Under the hood

How it’s built.

Algorithms

  • PCA
  • K-means
  • Composite scoring
  • Anomaly detection

Stack

  • Python
  • pandas
  • scikit-learn (PCA, K-means)
  • Scheduled pipeline
  • Plotly
  • Streamlit

Methods, in order

  1. Scheduled pipeline
  2. Composite scoring
  3. Clustering
  4. Lender benchmarking
  5. Anomaly detection
  6. Grounded Q&A

Data

Public data only: Census ACS, HMDA and the FHFA house price index.

04 / Outcomes

What it changed.

  1. 01

    380+ U.S. metro markets scored every month without manual work.

  2. 02

    Market archetypes with plain-English names a leader can use.

  3. 03

    A grounded brief for any market, written from that market’s own numbers.

Results come from synthetic or public data with known answers. They show the method, not a client result.

05 / Try it

The live demo.

The real app, running on synthetic data. Change the inputs and watch the decision move.

Interactive, synthetic data. If nobody has used it for a while it takes about 30 seconds to wake.

Open in a new tab ↗

Open conversations

Questions about
how it was built?

Decision Lab · live demo
Starting the demo…