Keener Example
[1]:
from ratingslib.datasets.filenames import dataset_path, FILENAME_EPL_2018_2019_20_GAMES
from ratingslib.ratings.keener import Keener
filename = dataset_path(FILENAME_EPL_2018_2019_20_GAMES)
Keener(normalization=False).rate_from_file(filename)
[1]:
| Item | rating | ranking | |
|---|---|---|---|
| 0 | Arsenal | 0.047220 | 17 |
| 1 | Bournemouth | 0.052874 | 4 |
| 2 | Brighton | 0.049183 | 11 |
| 3 | Burnley | 0.048576 | 14 |
| 4 | Cardiff | 0.048243 | 16 |
| 5 | Chelsea | 0.052800 | 5 |
| 6 | Crystal Palace | 0.049870 | 10 |
| 7 | Everton | 0.051214 | 7 |
| 8 | Fulham | 0.046829 | 18 |
| 9 | Huddersfield | 0.046068 | 20 |
| 10 | Leicester | 0.050701 | 8 |
| 11 | Liverpool | 0.053796 | 1 |
| 12 | Man City | 0.053511 | 2 |
| 13 | Man United | 0.050322 | 9 |
| 14 | Newcastle | 0.048939 | 13 |
| 15 | Southampton | 0.048969 | 12 |
| 16 | Tottenham | 0.052569 | 6 |
| 17 | Watford | 0.053265 | 3 |
| 18 | West Ham | 0.046730 | 19 |
| 19 | Wolves | 0.048320 | 15 |