AI Cricket

ShamiLoverGlipGlops

The Man With The Glip Glops
India
NZ....
AFG...
KKR
Avengers
Joined
Aug 14, 2008
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - PS3
  2. Don Bradman Cricket 14 - Steam PC
  3. Don Bradman Cricket 14 - Xbox One

upload_2019-4-23_22-58-49.png

First of all, before beginning this new journey, I would like to say sorry for my complete absence from this section post T20 Simulator. I was excited, was building and then work hit me hard. I was struggling both financially as well as personally since I was completing my Masters and Working full time. Being a Software Engineer is not easy and its really difficult to be in front of computer screen 24 hours. When you are young (not that I am old), you can spend as much time on it but after a certain period of time 8 hours in front of computer is all you can take.

I would like to apologize to @LBW. since he was my partner and I did not make him aware as well. I feel terrible about it. I am sorry.

Next moving on from apologizes, its time to look forward and start fresh. I have lost all my previous code since a lot has changed since last January. My wife spilled water on my mac, I completely destroyed it to a point that I could not even recover my data. I even lost my thesis work on that and had to start things from scratch.

Not to bore you any more, I will be working on a new cool project called AI Cricket. I made a mistake by promising a lot of things previously so will no longer be doing that. I will start small, release those small little things and move from there.

What is AI Cricket?

That is a good question. A little bit of background, I recently completely my thesis where I used various machine learning algorithm to predict which city in New Jersey lacks transportation and needs one. Back in January 2019, I had this idea where I could use these algorithms and techniques and can actually let AI predict true outcomes based on historical data.

For people that are non tech friendly, it is basically reading all the stats and predicting outcome based on that stats. For example, Virat Kohli scoring 100, based on his recent innings AI can learn his pattern given few different conditions such as opponent, weather, conditions, etc.

So basically AI cricket will be a simulator that would actually work based on learning things from already existing data and with new data.

What is your goal?

Well, my goal is simple this time. As mentioned I am going to take small baby steps and achieve those and then move on. I am listing my few immediate goals

  1. Toss Mechanism - I want to start with toss mechanism. Gone are those days where generating a random number will decide whether you bat or bowl first. I want to create a dataset where given condition, stadium, pitch type and tournament type, predict to either bat or bowl.
    1. For example, given World Cup Final, overcast condition, good batting surface at Lords... Team winning the toss would like to bat first and put pressure on the opponent
    2. Compared to a bilateral match, overcast condition, good batting surface at Lords.. Team winning might incline towards bowling first to utilize the overcast condition in bowling
  2. Simulating an over - After the toss mechanism is complete, I would want to extensively test simulating an over. A lot of factors to take into consideration with even a bigger dataset. More details at a later stage.

I want to know the release dates

For the toss mechanism, I would like to allow public access tentatively by 10th of May 2019. I have already started working on the dataset.


Once again, thank you always having my back despite my repeated failures. You learn a lot from your failures.

Looking forward to hear your thoughts.

Thanks
Parth
 

TemPSaad

Associate Captain
Joined
May 24, 2017
Why you are putting so much effort in toss simulation? best of luck for the whole project mate :)
 

ShamiLoverGlipGlops

The Man With The Glip Glops
India
NZ....
AFG...
KKR
Avengers
Joined
Aug 14, 2008
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - PS3
  2. Don Bradman Cricket 14 - Steam PC
  3. Don Bradman Cricket 14 - Xbox One
Why you are putting so much effort in toss simulation? best of luck for the whole project mate :)
I think you did not understand my post. I mentioned that I will be creating a realistic simulator but will work module by module. So not putting effort just for toss simulation :)

Also a little effort is needed because most of simulation available just use random numbers to decide to bat first or second. Having toss decided based on certain factors will make it more realistic.
 

ShamiLoverGlipGlops

The Man With The Glip Glops
India
NZ....
AFG...
KKR
Avengers
Joined
Aug 14, 2008
Online Cricket Games Owned
  1. Don Bradman Cricket 14 - PS3
  2. Don Bradman Cricket 14 - Steam PC
  3. Don Bradman Cricket 14 - Xbox One
Module - Toss

The most important factors for a team to choose batting vs fielding first after winning the toss is seeing the pitch conditions, the weather conditions and probably ground size. This is strictly taking T20 and ODI's into consideration and not Test matches. I thought it would be a good start to take these three factors into consideration when simulating a toss.

Factors
  1. Pitch Condition - The condition of the pitch would be something that user would select and could have the following options
    • Hard & Bouncy Pitch
    • Slow & Low Pitch
    • Seam Friendly
    • Spin Friendly
    • Flat Track
  2. Weather Condition - The condition of weather along with pitch will definitely be the most important factors team management will consider for deciding what to do in case you win the toss.
    1. Sunny
    2. Overcast
    3. Humid
    4. Cold
    5. Rainy
  3. Ground Size - Since T20 and ODI's are all about scoring runs, a grounds size could also play a factor. For example smaller grounds in New Zealand tend to give high scoring games compared to longer grounds in Australia.
    1. Small
    2. Medium
    3. Large
I have created dataset with those factors in mind, next is time to train the algorithm so that it can accurately predict. We want to target atleast 80% accuracy since a captain can read a pitch wrong and take a wrong decision.

Will be uploading the toss dataset shortly for open comments.
 

Users who are viewing this thread

Top