Skip to content

Now you can predict the innings score and winner team with this wonderful end to end project.

License

Notifications You must be signed in to change notification settings

SuryanshNaugraiya/IPL

Repository files navigation

IPL Inning Score and Winner Prediction - Deployment

Python 3.9 scikit-learnn Framework Frontend

A glimpse of the web app:

GIF

Table of Content

Demo

Link: https://ipl-prediciton-1.herokuapp.com/

Overview

This is a Flask web app and it has 2 functionalities.

  1. Predicts the innings Score
  2. Predicts the winner of the match

Motivation

What to do when you are at home due to this pandemic situation? I started to learn Machine Learning model to get most out of it. I came to know mathematics behind all supervised models. Finally it is important to work on application (real world application) to actually make a difference.

Installation

The Code is written in Python 3.9.2 If you don't have Python installed you can find it here. If you are using a lower version of Python you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after cloning the repository:

pip install -r requirements.txt

Deployement on Heroku

Login or signup in order to create virtual app. You can either connect your github profile or download ctl to manually deploy this project.

Our next step would be to follow the instruction given on Heroku Documentation to deploy a web app.

Directory Tree

├── static 
    ├── a.png
    ├──csk.png
    ├──dc.png
    ├──rcb.png
    ├──kkr.png
    ├──rr.png
    ├──mi.png
    ├──srh.png
    ├──kxip.png
    ├──background.png
    ├──ipl-favicon.ico
├── template
    ├── index.html
    ├── predict_score.html
    ├── score.html
    ├── predict_winner.html
    ├── winner.html
├── readme_resources
    ├── ipl-first-innings-score-web-app.gif
    ├── application-error-heroku.png
├── README.md
├── app.py
├── score.pkl
├── score.ipynb
├── winner.pkl
├── winner.ipynb
├── requirements.txt
├── Procfile

Technologies Used

Bug / Feature Request

• If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result.
• If you encounter this webapp as shown in the picture given below, it is occuring just because free dynos for this particular month provided by Heroku have been completely used. You can access the webpage on 1st of the next month.
• Sorry for the inconvenience.

Heroku-Error

Future Scope

  • Use multiple Algorithms
  • Optimize Flask app.py
  • Front-End

Please do ⭐ the repository, if it helped you in anyway.

About

Now you can predict the innings score and winner team with this wonderful end to end project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published