Cal Mitchell
commited on
Commit
•
6978ce9
1
Parent(s):
21e77ce
changed readme
Browse files
README.md
CHANGED
@@ -32,7 +32,7 @@ All of this is to say that taking Jokic off the Nuggets should have more of an e
|
|
32 |
|
33 |
Let's keep the game in Denver, put the Nuggets back at full strength, and replace Tatum with Pritchard. As you can see, the Nuggets are now projected to win 66% of the time. That sounds about right to me!
|
34 |
|
35 |
-
![Celtics without Tatum vs full strength Denver. Celtics at home.](denver-at-home-no-
|
36 |
|
37 |
## Installation
|
38 |
|
@@ -46,7 +46,7 @@ The `example.ipynb` notebook shows how to use the model to predict the final gam
|
|
46 |
|
47 |
To change the players and their ages, you must reference the `player_tokens.csv` and `age_tokens.csv` files.
|
48 |
|
49 |
-
For example, if you wanted to subtract Kristaps Porzingis from Boston's team
|
50 |
|
51 |
To swap home and away, you could replace the variables containing all of the player and age tokens, or just set the `swap_home_away` variable to `True`.
|
52 |
|
|
|
32 |
|
33 |
Let's keep the game in Denver, put the Nuggets back at full strength, and replace Tatum with Pritchard. As you can see, the Nuggets are now projected to win 66% of the time. That sounds about right to me!
|
34 |
|
35 |
+
![Celtics without Tatum vs full strength Denver. Celtics at home.](denver-at-home-no-jokic.png)
|
36 |
|
37 |
## Installation
|
38 |
|
|
|
46 |
|
47 |
To change the players and their ages, you must reference the `player_tokens.csv` and `age_tokens.csv` files.
|
48 |
|
49 |
+
For example, if you wanted to subtract Kristaps Porzingis from Boston's team, you would take the token representing Porzingis `4416` out of the `home_team_tokens` list, and replace him with, say, Payton Pritchard `4999`. You would then have to look up Pritchard's age (26), find the corresponding age token in `age_tokens.csv`, which is `11`, and replace Porzingis' age token (which is the second to last token).
|
50 |
|
51 |
To swap home and away, you could replace the variables containing all of the player and age tokens, or just set the `swap_home_away` variable to `True`.
|
52 |
|