Next Pitch Prediction
from game context

This demo predicts the next pitch bucket (Fastball / Breaking / Offspeed / Special / Other) using count, outs, inning, base state, and handedness. For simplicity, the public demo keeps the sequence input off.

What you’re seeing

NextPitchAI v3 is trained to predict one of five pitch families. That grouping improves stability and accuracy compared to predicting every pitch type directly.

  • Fastball (ex: four-seam, sinker, cutter)
  • Breaking Ball (ex: slider, curveball)
  • Offspeed (ex: changeup, splitter)
  • Special (rare pitches)
  • Other (misc / unknown)

Model snapshot

Model file
final_model_v3.keras
Output classes
5 buckets
Inputs
Context-only
Planned v4
Pitcher priors