Elo Ratings#
Elo Ratings are a widely-used method for evaluating football team performance by assigning dynamic ratings based on match outcomes and the relative strength of opponents.
Originally developed for chess, the Elo system updates ratings after each match based on the actual versus expected outcome, making it responsive to recent performance.
Elo Ratings effectively quantify team strength, allowing for reliable comparisons between teams, predictions of future match outcomes, and valuable insights for betting strategies.
[1]:
import penaltyblog as pb
Add New Players#
[2]:
elo = pb.ratings.Elo()
elo.add_player("Rob")
elo.add_player("Clare")
elo.add_player("Susan", 1600)
Update Ratings#
[3]:
elo.update_ratings("Rob", "Clare", 1)
elo.update_ratings("Susan", "Clare", 1)
elo.update_ratings("Susan", "Rob", 0)
elo.update_ratings("Clare", "Rob", 0)
Get New Ratings#
[4]:
elo.get_rating("Clare")
[4]:
1548.9036925925514