Skip to content

We have used our skill of machine learning along with our passion for cricket to predict the performance of players in the upcoming matches using ML Algorithms like random-forest and XG Boost

Notifications You must be signed in to change notification settings

pankajrawat9075/fantasy-sports-prediction

Repository files navigation

Player Prediction Predictor

The functions provided:

  1. Predicting a specific player's performance against a team either given the venue or not.
  2. Predicting the performance of both the teams in a match either given the venue or not, along side identifying the best player combination of both the teams for the match.

The prediction stats:

For Batsman : The number of runs he might score in the next fixture given the match details.
For Bowler : The number of wickets he might might take in the next fixture given the match details.

Data Acquiistion

The ball-to-ball data, match meta data and post other details for the male One-Day-International matches in the period 2005-2019 are downloaded from Cricsheets.org website. The data is in .yaml files for each match and the stats are extracted using the data acquisition scripts individually for the bowlers and the batsmans.

Overall Player Stats

Batsman Information

  1. Team - The international team the batsman plays for.
  2. Inninings - The number of innings played by the batsman.
    This gives us an insight into the experience of the batsman.
  3. Runs - The number of runs the batsman has scored in his career over the period.
  4. Balls - The number of balls the batsman has faced in his career over the period.
  5. Average - The average of runs scored by the batsman.
    This provides us with the pace at which the batsman can score, which is crucial in limited overs matches.
    This provides us with the batsman's scoring abilities as well as consistency.
  6. Strike Rate- The rate of scoring runs by the batsman.
    This provides us with the pace at which the batsman can score, which is crucial in limited overs matches.
  7. Centuries - The number of centuries scored by the batsman.
  8. Fifties - The number of fifties scored by the batsman.
    These stats provide us with the achievements of the batsman.
  9. Zeros - The number of times the batsman has been dismissed for zero.
    This provides us with bad end of the stats of the player, which negatively impacts the batsman's stats.

Bowler Information

  1. Team - The international team the bowler plays for.
  2. Inninings - The number of innings player by the bowler.
    This gives us an insight into the experience of the bowler.
  3. Balls - The number of overs bowled by the player.
  4. Wickets - The number of wickets taken by the bowler.
    This provides us with the impact the bowler has caused.
  5. Runs - The number of runs concieved by the bowler.
  6. Extras - The number of runs given away by the bowler in extras( ex: wides, no balls, leg byes)
    These inversely impacts the stats of the bowler.
  7. Average - The numbers of runs consided by the bowler per wicket taken.
    This provides us with information about the bowler's capabilities.
  8. Strike Rate - The number of balls bowled by the bowler per wicket taken.
    This provides us with the pace at which the bowler can take wickets.
  9. Economy - The average of the runs concieved by the bowler per match.
    A good economy impacts the bowlers stats in a huge positive way.
  10. Wicket Hauls - The number of four/five wickets hauls taken by the bowler.
    This provides us with the achievements of the bowler.

Per Match Stats

Batsman Information

  1. Team - The international team the player plays for.
  2. Opposition - The international team the player is playing against.
  3. Runs - The number of runs the batsman scored.
  4. Balls - The number of balls the batsman faced.
  5. Not_Out - A boolean value whether the player 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 value whether the player's team has won.
  9. Strike Rate- The rate at which the batsman scored the runs.

Bowler Information

  1. Team - The international team the player plays for.
  2. Opposition - The international team the player is playing against.
  3. Runs - The number of runs the bowler has concieved.
  4. Balls - The number of balls the bowler bowled.
  5. Wickets - The number of wickets the bowler has taken.
  6. Extras - The number of runs the bowler has given away in extras.
  7. Venue - The stadium, the match is being played at.
  8. Bat Innings- The innings the player's team has batted.
  9. Outcome - A boolean value whether the player's team has won.
  10. Average - The number of runs given away per wicket by the bowler.
  11. Strike Rate- The number of balls bowled per wicket by the bowler.
  12. Economy - The average of runs concieved per over by the bowler.

About

We have used our skill of machine learning along with our passion for cricket to predict the performance of players in the upcoming matches using ML Algorithms like random-forest and XG Boost

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages