Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some clarifications about the project #4

Open
AntonioGiovanniSchiavone opened this issue Jul 27, 2024 · 1 comment
Open

Some clarifications about the project #4

AntonioGiovanniSchiavone opened this issue Jul 27, 2024 · 1 comment

Comments

@AntonioGiovanniSchiavone

Hi @uPeppe ,

I've read your article on Medium and I have a few questions:

  • Did you use the project for both Fantacalcio Classic and Mantra?
  • For the Mantra version, how did you handle players with multiple roles and select the best formation among the various available modules for each matchday?
  • Did you apply the sin-arcsinh probability distribution to goalkeepers as well?
  • Which bonuses and penalties did you consider? (e.g., goalkeeper clean sheets, defense modifier)
  • For each matchday, did you consider validating the results by calculating the delta compared to the actual best formation?

Thanks!

@uPeppe
Copy link
Owner

uPeppe commented Jul 27, 2024

  • Yes, even though only "normal" role (P-D-C-A) is considered as a feature
  • Let's say I'd choose the lineup manually, depending on the players expected votes. There is no code for selecting automatically the optimal lineup through optimization method. However, simulate_lineup contains code for calculating the expected points of an input lineup (which is treated as a probability distribution itself) and could potentially be extended to try multiple lineups.
  • Yes, and for fantavote it results on a distribution skewed to the left (due to the -1 penalty for each goal)
  • For goalkeepers, only goals -1 and cards if I remember correctly. Clean sheet probability is treated as an additional output, other than vote and fantavote. Defense modifier is not an output for the player prediction, but is taken into account in lineup_simulation as it depends on multiple players. Clean sheet bonus is treated there as well, as not all leagues use that.
  • Not really in a methodic way. Could be an idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants