At Impulse, we wanted a real stress test for our new MLE agent, so we picked NBA win prediction. It's a clean binary classification problem on the surface, and a mess underneath. Rookies with no history. Expansion teams. Lockout seasons. The COVID bubble. Lineups that rotate every week. Schedule asymmetries. If Impulse can hand back a working, well-calibrated model from data this messy, it can handle most prediction problems people actually have.
This post walks through what we gave the agent, what the agent gave back, and what we think it means.
The data: all public, all parquet
Everything came from public sources. The NBA Stats API (the same one nba_api wraps) plus Basketball Reference for a couple of historical fields the official API has gaps on. No paid feed. No odds data. No proprietary tracking.
Three raw sources pulled into parquet (a fast, columnar file format we like for tabular data):
games.parquet β every NBA game from 2000-01 through the current 2025-26 season.β¦