Keener Example
[1]:
from ratingslib.datasets.filenames import dataset_path, FILENAME_NFL_2009_2010_SHORTNAMES_NO_PLAYOFF
from ratingslib.ratings.keener import Keener
filename = dataset_path(FILENAME_NFL_2009_2010_SHORTNAMES_NO_PLAYOFF)
Keener(normalization=False).rate_from_file(filename)
[1]:
| Item | rating | ranking | |
|---|---|---|---|
| 0 | Bears | 0.029410 | 22 |
| 1 | Bengals | 0.031483 | 17 |
| 2 | Bills | 0.029066 | 24 |
| 3 | Broncos | 0.031789 | 16 |
| 4 | Browns | 0.027923 | 27 |
| 5 | Buccaneers | 0.026194 | 30 |
| 6 | Cardinals | 0.032346 | 14 |
| 7 | Chargers | 0.035026 | 4 |
| 8 | Chiefs | 0.028006 | 26 |
| 9 | Colts | 0.034817 | 5 |
| 10 | Cowboys | 0.034710 | 7 |
| 11 | Dolphins | 0.029805 | 21 |
| 12 | Eagles | 0.033883 | 9 |
| 13 | Falcons | 0.032690 | 13 |
| 14 | Giants | 0.030480 | 20 |
| 15 | Jaguars | 0.028962 | 25 |
| 16 | Jets | 0.034683 | 8 |
| 17 | Lions | 0.025595 | 31 |
| 18 | Niners | 0.031876 | 15 |
| 19 | Packers | 0.035722 | 2 |
| 20 | Panthers | 0.030785 | 18 |
| 21 | Patriots | 0.035051 | 3 |
| 22 | Raiders | 0.026222 | 29 |
| 23 | Rams | 0.024881 | 32 |
| 24 | Ravens | 0.033821 | 10 |
| 25 | Redskins | 0.029107 | 23 |
| 26 | Saints | 0.036139 | 1 |
| 27 | Seahawks | 0.027262 | 28 |
| 28 | Steelers | 0.033529 | 11 |
| 29 | Texans | 0.033415 | 12 |
| 30 | Titans | 0.030538 | 19 |
| 31 | Vikings | 0.034783 | 6 |