GithubHelp home page GithubHelp logo

ipl-2018-predictor's Introduction

IPL 2018 Predictor

Code style

js-standard-style

Pre-requisites

  1. Installation of Python (Version 3.7)
  2. Installation of LXML package

Dependencies

  • NumPy : For fast matrix operations.
  • pandas : For analysing and getting insights from datasets.
  • matplotlib : For creating graphs and plots.
  • seaborn : For enhancing the style of matplotlib plots.
  • sklearn : For using the machine learning features
  • re : For using regex
  • warnings : For hiding user warnings

Interface

Cricket Wizard

We created an UI for a good experience for the user.Pictures below show some instances of the main.py while being used. The main.py ,connecting all the branches together, should be run by utilizing python 3.

Menu options after running main.py:

Welcome to Cricket Wizard! our CMPT 353 Final Projec.

This is an analysis of a method to predict T20 fixture results and its batting/bowling averages:

1- 2018 IPL Match and championship prediction.
2- 2018 IPL Batting/Bowling averages prediction.

Please enter the results that you are intrested to see.(1 or 2):

Users can choose 1 for seeing the IPL league predictions and 2 for seeing batting/bowling averages. If the information entered is incorrect users will be asked to re-enter their response.

Please enter the results that you are intrested to see.(1 or 2):
D
Wrong entry type! Please re-enter your answer in form of "1" or "2":

After correct entry the desired results will be demonstrated and as shown below the user will be asked to choose if they want to run the other branch depending on the branch that they are already running.

Would you like to see batting averages as well?(y or n):
Would you like to see IPL prediction as well?(y or n):

Again if the response in invalid user will be asked to re-enter and this will be the user's final response and they will see the thank you note and the team members names.

Thank you for using The Cricket Wizard!

1. IPL Match Predictor

Parameters

  1. Team A
  2. Team B
  3. Winner

Return

A string containing the winner.

For example

Rajasthan Royals and Mumbai Indians
Winner: Mumbai Indians

2. Bowling/Bating Average Predictor

Parameters

Input directory containing matches.csv and deliveries.csv.

Return

An output directory containing 6 .csv files containing batting and bowling statistics including:

  • Averages
  • Strike Rates
  • Improved Predicted Averages

Tech/framework used

Built with

Credits

Lakshay Sethi , Josie Buter , Pouya Jamali

Inspiration

** Abhinav Sagar's Article

ipl-2018-predictor's People

Contributors

lakshay-sethi 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.