AccuRATE Example
[1]:
from ratingslib.datasets.filenames import dataset_path, FILENAME_EPL_2018_2019_20_GAMES
from ratingslib.ratings.accurate import AccuRate
filename = dataset_path(FILENAME_EPL_2018_2019_20_GAMES)
AccuRate().rate_from_file(filename)
[1]:
Item | rating | ranking | |
---|---|---|---|
0 | Arsenal | -2.587401 | 15 |
1 | Bournemouth | 2.259921 | 6 |
2 | Brighton | -1.000000 | 11 |
3 | Burnley | -1.542211 | 12 |
4 | Cardiff | -1.866066 | 14 |
5 | Chelsea | 2.402189 | 4 |
6 | Crystal Palace | 0.184273 | 9 |
7 | Everton | 1.000000 | 7 |
8 | Fulham | -3.140221 | 16 |
9 | Huddersfield | -6.121948 | 18 |
10 | Leicester | 0.259921 | 8 |
11 | Liverpool | 3.148589 | 2 |
12 | Man City | 3.407759 | 1 |
13 | Man United | 0.000000 | 10 |
14 | Newcastle | -1.000000 | 11 |
15 | Southampton | -1.000000 | 11 |
16 | Tottenham | 2.356604 | 5 |
17 | Watford | 2.787504 | 3 |
18 | West Ham | -3.297397 | 17 |
19 | Wolves | -1.655507 | 13 |