Machine learning · Built in 2025

NFL 4th Down Predictor

An XGBoost model focused on calibrated conversion probabilities—not only classifications—using situational NFL play-by-play data from 2013 through 2024.

~480K playsRaw play-by-play dataset
62.27% accuracyHeld-out outcome classification
0.2293 BrierProbability calibration score

The question

Fourth-down decisions need a probability of conversion, not just a yes-or-no label. The project asks whether situational play data can produce probabilities reliable enough to support deeper decision analysis.

Data and features

  • NFL play-by-play data from the 2013–2024 seasons, filtered to valid fourth-down rush or pass attempts.
  • Distance to first down, field position, play type, short-yardage, red-zone, own-half, clock, and late-game context.
  • A conversion target based on first downs and touchdowns, excluding nullified plays.

Modeling workflow

480K plays → validity filters → situational features → XGBoost classifier → conversion probability → accuracy + ROC-AUC + Brier evaluation

Why calibration mattered

A coach comparing “go” versus “kick” needs a probability that behaves like reality. The Brier score complements accuracy and ROC-AUC by penalizing probabilities that are confidently wrong.

Results and limits

The model achieved 62.27% accuracy, 0.6566 ROC-AUC, and a 0.2293 Brier score. It captures useful situational signal, but it does not yet include player strength, team strength, or expected-points value.

What I would improve next

Add expected points added, team and player strength, time-aware validation, and a small interactive dashboard for scenario exploration.