This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Add algorithm to select players based on credits #4
Labels
enhancement
New feature or request
good first issue
Good for newcomers
wontfix
This will not be worked on
Comments
roysti10
added
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
Hacktober fest label
help wanted
Extra attention is needed
labels
Sep 30, 2020
roysti10
added a commit
that referenced
this issue
Nov 14, 2020
# This is the 1st commit message: [CODE] Cleaned pylint warnings for check # The commit message #2 will be skipped: # [FILES] Deleted all matches # The commit message #3 will be skipped: # [FILES] Deleted countries.py # The commit message #4 will be skipped: # [CODE] Cleaned code for pylint warnings
roysti10
added a commit
that referenced
this issue
Nov 15, 2020
# This is the 1st commit message: [CODE] Cleaned pylint warnings for check # The commit message #2 will be skipped: # [FILES] Deleted all matches # The commit message #3 will be skipped: # [FILES] Deleted countries.py # The commit message #4 will be skipped: # [CODE] Cleaned code for pylint warnings
roysti10
added a commit
that referenced
this issue
Nov 15, 2020
# This is the 1st commit message: [CODE] Cleaned pylint warnings for check # The commit message #2 will be skipped: # [FILES] Deleted all matches # The commit message #3 will be skipped: # [FILES] Deleted countries.py # The commit message #4 will be skipped: # [CODE] Cleaned code for pylint warnings
roysti10
added a commit
that referenced
this issue
Nov 15, 2020
# This is the 1st commit message: [CODE] Cleaned pylint warnings for check # The commit message #2 will be skipped: # [FILES] Deleted all matches # The commit message #3 will be skipped: # [FILES] Deleted countries.py # The commit message #4 will be skipped: # [CODE] Cleaned code for pylint warnings
roysti10
added
wontfix
This will not be worked on
and removed
help wanted
Extra attention is needed
labels
Feb 8, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
enhancement
New feature or request
good first issue
Good for newcomers
wontfix
This will not be worked on
Describe the issue
Currently our model predicts only on points but fantasy cricket has limitations on the basis of credits, we would like to implement the algorithm for it
Solution
Create a function that takes input the players list , credits list , maximum credits for the match and points predicted by the model for each player and select the best 11 players, based on the points whilst not crossing the maximum credits.
Note: be careful not to violate the team rule , i.e maximum 7 players from each team
Test
You can test with your own credits as of now, as we are still figuring out an api for it
You do not need to integrate it with current flask model, you can create a function in team.py as of now
Comment if you would like to work on it
The text was updated successfully, but these errors were encountered: