Skip to content

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

Open
lyonjust wants to merge 2 commits intoFriends-of-Tracking-Data-FoTD:masterfrom
lyonjust:master
Open

[Fix] Bug in example prediction for Arsenal vs. Manchester City#4
lyonjust wants to merge 2 commits intoFriends-of-Tracking-Data-FoTD:masterfrom
lyonjust:master

Conversation

@lyonjust
Copy link
Copy Markdown

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
Copy Markdown
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.

1 participant