Git Product home page Git Product logo

ipl-live-score-detection's Introduction

IPL LIVE SCORE PREDICTION

A live predictor to predict scores of the match in advance.

PREREQUISITES:

  1. Python
  2. Any editor like sublime text or visual editor to view the joblib files

OVERVIEW:

Live score predction of the IPL match that took place April 2021 to May 2021

  1. DATA SHEET: The data set was taken from https://cricsheet.org/ and I also uploaded the data set in my kaggle account: https://www.kaggle.com/shwedhasrinivasan/ipl-dataset, its used as all_matches.csv in the preprocessing file
  2. PREPROCESSING FILE: This python file is responsible for EDA analysis, generation of test and train data thats useful for generating the joblib files to save the model.
  3. JOBLIB FILES: There are 5 joblib files for bowler, striker, venue, team and rf(random forest), since random forest classifier joblib file exceede 25MB, it couldnt be uploaded.
  4. PREDICTOR FILE: This opens up all the models saved as joblibs and uses them to make predictions.
  5. MAIN FILE: When the user gives the input file it predicts the scores and returns the output.

PRE-PROCESSING THE DATASETS:

  1. Eradicating all the data that does not make sense / duplicates / NaN values.
  2. Addition of columns that compute the total number of runs done by each player and also an extra column that adds the total runs secured by the team itself.
  3. One hot encoding to perform modelling for venue, batting team, bowling team, striker and bowler.

MODELLING:

Out of all the models performed only Random forest was the most accurate, so I have only kept that model and again converted to joblob file to run the predictor. Inorder to add more models, you could just add the code for each model under the preprocessing file and make sure to include them in the predictor file as well.

ipl-live-score-detection's People

Contributors

shwedha avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.