Interactive Demo

Ball-by-Ball Prediction Demo

Build a match situation and see how the model predicts the next ball outcome. Adjust the sliders to explore different scenarios.

Match Situation

Powerplay
1-6
Middle
7-15
Death
16-20
Current RR
8.50
Projected
170
Phase
Middle

Player Context

Batter

Bowler

Recent Momentum

Next Ball Prediction

Live
Expected Runs This Ball 1.32

Outcome Distribution

Prediction Confidence

Max Probability
38.2%
Entropy
2.14
(Higher = More Uncertain)

Quick Scenarios

How This Demo Works

This demo uses realistic probability distributions based on the match context you set. In the full system, an XGBoost model trained on 4 million ball records generates these probabilities. The demo simulates similar behavior by adjusting probabilities based on phase (powerplay favors boundaries, death overs favor sixes and wickets), player quality (higher strike rate batters hit more boundaries), bowler economy, and recent momentum.