Blog Details

How do you predict cricket player performance?



Cricket is a recreation played with the aid of two groups, with every side having 11 gamers. Each team is a proper combination of batters, bowlers, and all-rounders. The batters' role is to score the maximum runs possible, and the bowlers must take top wickets and restrict the alternative team from scoring runs simultaneously. All-rounders are the players who can each bat and bowl, and they contribute by scoring runs and taking wickets. Each player contributes closer to the crew's general performance, giving their excellent overall performance in each shape. Each player’s overall performance varies with factors such as the team he is playing towards and the ground at which the condition is being played. It is essential to pick the proper players to carry out the fine in every suit. A player's overall performance also depends on numerous elements like his cutting-edge form, overall performance in opposition to a particular crew, performance at a specific venue, etc. The team management, the train, and the captain analyze players' characteristics, abilities, and past stats to select the nice playing XI for a given health. They attempt to predict the gamers’ overall performance for every health in different phrases. In this challenge, we expect the players’ overall performance in One Day International (ODI) to fit by reading their characteristics and stats through supervised system learning techniques. For this, we individually predict batters and bowlers’ overall performance as to what Number of runs a batter will score and how many wickets a bowler will take in a specific shape.


This task has four fundamental parts:

  • Batsman Data Engineering

  • Bowler Data Engineering

  • Batsman Prediction

  • Bowler Prediction

Each of the parts has been implemented in separate notebooks. The first two are for statistics engineering, and the other is for version implementation and predictions.

Batting Attributes

  1. No. Of Innings:- The wide variety of innings in which the batsman has batted till the day of the match. This characteristic signifies the experience of the batsman. The more excellent innings the batsman has played, the more skilled the participant is.

  2. Batting Average:- Batting ordinary, usually called average, is the standard variety of runs scored in keeping with innings. This attribute shows the run-scoring functionality of the player. Average = Runs Scored / Number of instances disregarded

  3. Strike Rate (SR):- The strike fee is the average quantity of runs scored per one hundred balls faced. In restricted-overs cricket, scoring runs at a fast tempo is essential. More runs scored at a slow pace is alternatively harmful to the team as they have a limited wide variety of overs. This attribute shows how quickly the batter can score runs. Strike Rate: (Runs Scored / Balls Faced) * one hundred

  4. Centuries:- Number of innings in which the batsman scored more than one hundred runs. This attribute suggests the capability of the participant to play longer innings and score more runs.

  5. Nineteen Fifties:- Number of innings wherein the batsman scored more than 50 (and less than a hundred) runs. This attribute indicates the capability of the player to play longer innings and score more runs.

  6. Zeros:- Number of innings wherein the batsman became dismissed without scoring an unmarried run. This attribute indicates how often the batsman didn't rate runs; therefore, this, being a lousy component, affected the batsman’s prediction negatively.

Bowling Attributes

  1. No. Of Innings:- The number of innings in which the bowler bowled at least one ball. It represents the bowling experience of a participant. The more innings the player has played, the more skilled the player is. Overs: The wide variety of overs bowled by a bowler. This characteristic additionally shows the experience of the bowler. The more overs the bowler has bowled, the more experienced the bowler is.

  2. Bowling Average:- Bowling average is the Number of runs conceded using a bowler per wicket taken. This attribute indicates the bowler's skills to limit the batters from scoring runs and taking wickets simultaneously. Lower values of the bowling average suggest extra competencies.

  3. Bowling Average:- Number of runs conceded / Number of gates taken

  4. Bowling Strike Rate:- Bowling strike price is the Number of balls bowled per wicket taken. This characteristic indicates the wicket-taking capability of the bowler. Lower values suggest that the bowler is capable of taking wickets quickly.

  5. Strike Rate:- Number of balls bowled / Number of gates taken

  6. Four/Five Wicket Haul:- Number of innings wherein the bowler has taken more than four wickets. This characteristic suggests the capability of the bowler to take greater wickets in an innings. The higher the price, the more successful the participant is.

Player Prediction Predictor

The capabilities supplied:

  1. Predicting a selected participant's overall performance in opposition to a group, either given the venue or not.

  2. Predicting the overall performance of both groups in a suit, whether given the platform or not, and figuring out the satisfactory participant aggregate of each group for the fit.

The prediction stats:

For Batsman: The Number of runs he may score inside the next fixture given the in-shape info.

For Bowler: Given the in-shape details, the Number of wickets he could take inside the subsequent fixture.

Overall Player Stats

Batsman Information

  1. Team - The international team the batsman plays for.

  2. Innings - The wide variety of innings performed by the batsman.

          This gives us a perception of the enjoyment of the batsman.

  1. Runs - The range of runs the batsman has scored in his profession over the length.

  2. Balls - The Number of hops the batsman has confronted in his work over the period.

  3. Average - The common of runs scored through the batsman.

This presents the pace the batter can rate, which is crucial in limited-overs matches.

This gives us the batsman's scoring competencies as well as consistency.

  1. Strike Rate- The rate of scoring runs via the batsman.

This offers us the tempo the batter can score, which is vital in restricted overs fits.

  1. Centuries - The wide variety of centuries scored using the batsman.

  2. The 1950s - The Number of fifties scored by way of the batsman.

These stats offer us with the achievements of the batsman.

  1. Zeros - The batsman's range of instances has been brushed off for zero.

This presents the horrific stop of the participant's stats, negatively impacting the batsman's stats.

Bowler Information

  1. Team - The global crew the bowler performs for.

  2. Innings - The variety of innings players using the bowler.

This offers us a perception of the enjoyment of the bowler.

  1. Balls - The Number of overs bowled through the player.

  2. Wickets - The quantity of wickets taken by using the bowler.

This gives us the effect the bowler has brought on.

  1. Runs - The Number of runs conceived via the bowler.

  2. Extras - The range of runs given away by using the bowler in bonuses ( ex, wides, no balls, leg byes)

These inversely affect the stats of the bowler.

  1. Average - The Number of runs the bowler considers in step with the wicket taken.

This gives us records of the bowler's capabilities.

  1. Strike Rate - The range of balls bowled with the aid of the bowler according to the wicket taken.

This provides us with the tempo at which the bowler can take wickets.

  1. Economy - The average of the runs conceived through the bowler in line with in shape.

  2. An accurate financial system influences the bowler's stats in a vast, fantastic way.

Per Match Stats

Batsman Information

  1. Team - The global team the player plays for.

  2. Opposition - The international team the participant is gambling in opposition to.

  3. Runs - The range of runs the batsman scored.

  4. Balls - The variety of balls the batsman confronted.

  5. Not Out - A Boolean fee whether or not the participant has been out.

  6. Venue - The stadium the match is being played at.

  7. Bat Innings - The innings the player's team has batted.

  8. Outcome - A Boolean fee whether the player's group has gained.

  9. Strike Rate- The charge at which the batsman scored the runs.

Bowler Information

  1. Team: The global group the player plays for.

  2. Opposition: The international group the participant is playing against.

  3. Runs: The range of runs the bowler has conceived.

  4. Balls: The wide variety of balls the bowler bowled.

  5. Wickets: The wide array of doors the bowler has taken.

  6. Extras: The quantity of runs the bowler has given away in reserves.

  7. Venue: The stadium where health is being performed.

  8. Bat Innings: The innings the participant's crew has batted.

  9. Outcome: A Boolean fee whether or not the player's group has won.

  10. Average: The range of runs given away in line with the wicket by the bowler.

  11. Strike Rate: The Number of balls bowled per wicket with the aid of the bowler.

  12. Economy: The average of runs conceived in line with over through the bowler.


Batsman Predictions

We achieved a maximum accuracy of zero. Ninety-nine with Random Forest and a lowest of 0.Forty-four.

Bowlers Predictions

We had performed the best accuracy of zero.99 with Random Forest and the bottom of zero.Sixty-8.

Read More