Pitch Prediction App

In-game next-pitch predictor.

Replay a real MLB game one pitch at a time. Before each pitch is shown, the model reads the pitcher, batter, count, base state, score, inning, and previous pitch sequence.

Pre-pitch forecastReveal actualAdvance game state

Start here

Latest Mets gameLoads the latest available Mets replay and lands on Pitch 1 with the model forecast already on screen.

What we built

A live-feeling replay cockpit for model reads.

The app loads public MLB game data, records the model forecast before each pitch, then lets you reveal the actual pitch and advance the real game state. It is built around the question a manager cares about: what is most likely next from this pitcher, batter, count, and sequence?

View the pitchpredict-xlstm model
01Read the forecast

Start with the likely pitch type, location, result, and next-count pressure before the actual pitch appears.

02Reveal the pitch

Compare the forecast against pitch type, velocity, location miss, result probability, and count change.

03Advance the game

The actual pitch becomes history, the count and matchup update, and the next model read is computed.