GithubHelp home page GithubHelp logo

darshanjain2000 / ipl-fantasy-team Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 31.91 MB

Get better vision to select your team for ipl fantasy sport.

Jupyter Notebook 76.61% Python 12.25% HTML 11.13%

ipl-fantasy-team's Introduction

IPL fantasy team assistant Web Tool and API

Now make calculated risk over your fantasy sport team.

Get best options of players for your IPL fantasy team using data of every ball ever played in IPL (2008-2020)

This python code uses pySpark, numpy and pandas majorly to find out various best players in different situation such as venue, opposite team, toss, pitch stats, etc.

In tool, plotted some graph for quick glance.

Analysis Attributes

1.Total Matches team1 vs team2
2.Head to head wins
3.Key players in team1 vs team2
4.Toss winner choice at venue
5.Match winner toss decision team1 vs team2
6.Match winner toss decision at venue
7.Run rate at venue
8.Team1 top run-scorer at venue
9.Team1 top wicket-taker at venue
10.Team2 top run-scorer at venue
11.Team2 top wicket-taker at venue
12.Team1 win percentage at venue
13.Team2 win percentage at venue

API

use localhost as endpoint

for using api there is 3 field team1 team2 and city range from 1-8, 1-8, 1-31 respectively

value associated with no. -

ipl_teams = ["Chennai Super Kings","Delhi Capitals","Kolkata Knight Riders","Mumbai Indians","Kings XI Punjab","Rajasthan Royals","Royal Challengers Bangalore","Sunrisers Hyderabad"]

cities = ['Bangalore', 'Kochi', 'Chennai', 'Centurion', 'Ranchi', 'Mumbai', 'Ahmedabad', 'Durban', 'Kolkata', 'Cape Town', 'Dharamsala', 'Sharjah', 'Johannesburg', 'Kimberley', 'Pune', 'Delhi', 'Raipur', 'Chandigarh', 'Nagpur', 'Abu Dhabi', 'Bloemfontein', 'Kanpur', 'Hyderabad', 'Rajkot', 'Port Elizabeth', 'Dubai', 'Indore', 'Cuttack', 'East London', 'Jaipur', 'Visakhapatnam']

sample call

localhost:5000/predict?team1=4&team2=3&city=5

ipl-fantasy-team's People

Contributors

darshanjain2000 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.