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

[Fix] Bug in example prediction for Arsenal vs. Manchester City #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lyonjust
Copy link

Addresses a small bug in the example prediction of Arsenal (away team) v Man City (home team).

The Arsenal scoring rate (away_score_rate) is erroneously modelled as if Arsenal is also playing at home. This leads to the predicted goals being overstated.

@lyonjust
Copy link
Author

Note - the bug exists only in the example of Man City v Arsenal. It does not repeat in the function simulate_match later in the script.

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

Successfully merging this pull request may close these issues.

None yet

1 participant