Skip to content

A Python script that helps in generating data for cricket score prediction.

Notifications You must be signed in to change notification settings

codophobia/Cricket-Score-Prediction-Data-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cricket-Score-Prediction-Data-Generator

How to run the code

git clone https://github.com/codophobia/Cricket-Score-Prediction-Data-Generator.git
virtualenv -p python3 venv # You should have Python3 installed on your system
pip install -r requirements.txt
python script.py

Do note that the script will generate prediction data for all the matches(odi,test,t-20, ipl). If you want dataset for a particular format, you can filter that in csv file.

How to update the dataset

# The current directory should be where old data is present
git clone https://git.sr.ht/~srushe/cricsheet-xml # This will download the dataset from https://git.sr.ht/~srushe/cricsheet-xml
rm -r data # Delete the old data. If you want to keep it, rename it using mv command.
cp -r cricsheet-xml/data .

About

A Python script that helps in generating data for cricket score prediction.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages