Skip to main navigation Skip to search Skip to main content

Using large language models to generate baseball spray charts in the absence of numerical data

  • Senne Michielssen
  • , Adam Maloof
  • , Joe Haumacher
  • , Alexander Dreger
  • , Kyle Bonicki
  • , Karl Hallgren

Research output: Contribution to journalArticlepeer-review

Abstract

Although baseball has been revolutionized by analytics, not all teams have access to high quality data. While many high school, collegiate, and club teams do not have high speed cameras and radars, they often do record a text-based play-by-play account of the game. The purpose of this study is to demonstrate how to use large language models to convert play-by-play information into quantitative data. We walk through the specific example of spray charts, which depict where on the baseball diamond a hitter tends to put the ball in play. Spray charts are a particularly relevant example because of their use in informing in-game strategy decisions (e.g., the infield shift). This study successfully generates spray charts for collegiate baseball players with 95% accuracy.

Original languageEnglish (US)
Pages (from-to)362-369
Number of pages8
JournalProceedings of the Institution of Mechanical Engineers, Part P: Journal of Sports Engineering and Technology
Volume240
Issue number2
DOIs
StatePublished - Jun 2026

All Science Journal Classification (ASJC) codes

  • General Engineering

Keywords

  • Baseball
  • OpenAI
  • large language models
  • play-by-play
  • sabermetrics
  • scouting
  • spray chart

Fingerprint

Dive into the research topics of 'Using large language models to generate baseball spray charts in the absence of numerical data'. Together they form a unique fingerprint.

Cite this