Live at : https://predictionsgenie.herokuapp.com/ Note: Page UI is currently hard coded for a ~15 inch display
Buttons:
Reset Page: Resets team selection and reverts page back to original dislpay
Calculate Probabilities: Returns a table of results, button only respons only when
a home and away team are selected
Example: For an upcoming match between Leeds (Home) and Arsenal (Away), the goal of this
program is to provide the user with data representing the probability of a final score
(i.e whats the probability that the final score is (2, 1)? )
1) Hover over desired team and then drag and drop each team into their respective boxes
2) Drag each team above the corresponding box, doing so will prompt either box to display
a red border around its edges to communicate that the current selection is in the drop zone
3) When both teams have been dragged and dropped, click "calculate probabilities".
A green table will then appear displaying probabilities of a final score being achieved.
(i.e the match in our example, has the a 9.25% chance of having a final score of (1 vs 0) or (0 vs 1)).
Front End - Bootstrap | HTML | CSS | JavaScript
Back End - Python | Beautiful Soup 4 | Flask
Hosting service - Heroku / Salesforce
Math behind the calculations uses the Possion Distribution to estimate the probabilites by using data from the 2020/2021 Premier League season. For more information on the Poission Distribution follow the links below