Jensen-holm
commited on
Commit
•
cc53f5e
1
Parent(s):
ef83bf7
I have made my submissions for the kaggle competition, i will run the
Browse filesnotebooks again tomorrow once the tournament data is all set. This repo
is done, and the only thing I might modify tomorrow is the kaggle
notebook for submission which is not in this repo
- data/AllSuperDetailedGames.csv +2 -2
- data/AllTeamsAgg.csv +1 -1
- src/nn.ipynb +26 -0
- src/pre_processing.ipynb +1 -1
data/AllSuperDetailedGames.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7bff12fcd0ad9e6565ebaaa201e6bef0c4a172b8dc08de36a7cc75afc4953445
|
3 |
+
size 1046229517
|
data/AllTeamsAgg.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 31040659
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09bd0d151e41cb71142dafa980ef0c5086f5731c8ea61d97f12610376f16a9f4
|
3 |
size 31040659
|
src/nn.ipynb
CHANGED
@@ -52,6 +52,18 @@
|
|
52 |
"detailed_games_df.info()"
|
53 |
]
|
54 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
{
|
56 |
"cell_type": "markdown",
|
57 |
"metadata": {},
|
@@ -410,6 +422,20 @@
|
|
410 |
"# save it because it is better than womens baseline model\n",
|
411 |
"torch.save(wmns_nigl10k, os.path.join(MODEL_DIR, \"Wnn10k.pth\"))"
|
412 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
}
|
414 |
],
|
415 |
"metadata": {
|
|
|
52 |
"detailed_games_df.info()"
|
53 |
]
|
54 |
},
|
55 |
+
{
|
56 |
+
"cell_type": "code",
|
57 |
+
"execution_count": null,
|
58 |
+
"metadata": {},
|
59 |
+
"outputs": [],
|
60 |
+
"source": [
|
61 |
+
"# join with 538 ratings\n",
|
62 |
+
"detailed_games_df = detailed_games_df.merge(\n",
|
63 |
+
" right=pd.read_csv(os.path.join(DATA_DIR, \"538\"))\n",
|
64 |
+
")"
|
65 |
+
]
|
66 |
+
},
|
67 |
{
|
68 |
"cell_type": "markdown",
|
69 |
"metadata": {},
|
|
|
422 |
"# save it because it is better than womens baseline model\n",
|
423 |
"torch.save(wmns_nigl10k, os.path.join(MODEL_DIR, \"Wnn10k.pth\"))"
|
424 |
]
|
425 |
+
},
|
426 |
+
{
|
427 |
+
"cell_type": "markdown",
|
428 |
+
"metadata": {},
|
429 |
+
"source": [
|
430 |
+
"## Final Predictions"
|
431 |
+
]
|
432 |
+
},
|
433 |
+
{
|
434 |
+
"cell_type": "code",
|
435 |
+
"execution_count": null,
|
436 |
+
"metadata": {},
|
437 |
+
"outputs": [],
|
438 |
+
"source": []
|
439 |
}
|
440 |
],
|
441 |
"metadata": {
|
src/pre_processing.ipynb
CHANGED
@@ -2441,7 +2441,7 @@
|
|
2441 |
],
|
2442 |
"source": [
|
2443 |
"super_detailed_games_df[\"ChalkSeedDiff\"] = (\n",
|
2444 |
-
" super_detailed_games_df[\"
|
2445 |
")"
|
2446 |
]
|
2447 |
},
|
|
|
2441 |
],
|
2442 |
"source": [
|
2443 |
"super_detailed_games_df[\"ChalkSeedDiff\"] = (\n",
|
2444 |
+
" super_detailed_games_df[\"OppChalkSeed\"] - super_detailed_games_df[\"ChalkSeed\"]\n",
|
2445 |
")"
|
2446 |
]
|
2447 |
},
|