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