A statistical modeling platform for MLB at-bat outcome predictions using traditional and advanced sabermetrics.
Our Mission
AtBat Labs combines traditional and advanced baseball statistics with modern web technology to create educational predictions for MLB at-bat outcomes. Our goal is to make baseball analytics accessible and help fans understand the complex statistical factors that influence game outcomes.
Currently Implemented
What our prediction system actually uses right now
Core Player Statistics
• Batting: AVG, OBP, SLG, K%/BB%
• Pitching: ERA, WHIP, K/9, BB/9
• Bounded scaling to weigh player skill
Advanced Matchup Analysis
• **Pitch Repertoire:** Batter performance vs. pitcher's top pitches
• **Zone Performance:** Batter hot/cold zones vs. pitcher's target zones
• Real-time Statcast integration for pitch-level data
• Count-specific adjustments (0-0 vs. 3-1 counts)
• Situational statistics (Runners in Scoring Position)
• Machine learning for pattern recognition
Important Limitations: Our current model uses 2023 season statistics and does not account for real-time game conditions like weather, ballpark, or specific game situations. Predictions are for educational and entertainment purposes only.
Data Sources & Methodology
Current Data Sources
• 2023 MLB season statistics (batting and pitching)
• Pitch-type performance data (vs. Fastball, Breaking, Offspeed)
• Pitch location data aggregated into zones
• Basic player biographical information
Calculation Method
Predictions are generated using a multi-layered statistical model. It starts with league-average baselines, adjusts for individual player skills, and then applies nuanced matchup factors for handedness, pitch repertoire, and zone performance. The system does not use machine learning or neural networks at this time.
Model Accuracy & Validation
Accuracy Claims: We have not yet validated our model against a large set of historical outcomes. Any accuracy percentages shown are theoretical estimates based on the statistical methods used, not actual tested performance. This is a critical next step in our roadmap.
Planned Validation Steps
• Back-test predictions against the full 2023 season outcomes.
• Compare model performance to Vegas odds and other public models.
• Implement cross-validation techniques to ensure robustness.
• Client-side statistical calculations in TypeScript
• No external APIs currently integrated for live predictions
• No database or real-time data feeds
Development Roadmap
Phase 1
Model Validation & Accuracy
Test current model against historical data and establish baseline accuracy metrics.
Phase 2
Contextual Factors
Integrate ballpark, weather, and umpire data into the model.
Phase 3
Real-time Integration & ML
Connect to live MLB data feeds, add count/situational stats, and explore machine learning models.
Disclaimer: AtBat Labs is an educational project for learning about baseball analytics and web development. Predictions are not intended for gambling or commercial use. Always consult official MLB statistics and professional analysts for serious baseball analysis.