Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
katarinasupe committed May 12, 2023
1 parent dde2037 commit a143829
Showing 1 changed file with 45 additions and 44 deletions.
89 changes: 45 additions & 44 deletions dors-cluc-workshop/game-of-graphs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -807,20 +807,20 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Character: Melisandre the Red Woman of Asshai | Method: Old Age\n",
"Character: Jaqen Hghar | Method: Poison\n",
"Character: Bolton soldier | Method: Arrow\n",
"Character: Sons of the Harpy agent | Method: Sword\n",
"Character: Selyse Florent | Method: Rope\n",
"Character: Tommen Baratheon | Method: Falling\n",
"Character: Greyjoy Soldier | Method: Sword\n",
"Character: Greyjoy Soldier | Method: Axe\n",
"Character: Greyjoy Soldier | Method: Mace\n",
"Character: Greyjoy Soldier | Method: Knife\n",
"Character: Aemon Targaryen | Method: Old Age\n",
"Character: Jaqen Hghar | Method: Poison\n",
"Character: Peasant | Method: Poison\n",
"Character: Sandor the Hound Clegane | Method: Dragonfire (Dragon)\n",
"Character: Dothraki man | Method: Arakh\n",
"Character: Peasant | Method: Poison\n",
"Character: Melisandre the Red Woman of Asshai | Method: Old Age\n",
"Character: Sons of the Harpy agent | Method: Sword\n",
"Character: Selyse Florent | Method: Rope\n",
"Character: Aemon Targaryen | Method: Old Age\n",
"Character: Gladiator | Method: Sword\n",
"Character: Gladiator | Method: Spear\n"
]
Expand Down Expand Up @@ -867,24 +867,24 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 36,
"id": "36b563bf",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Episode: Kings Landing | Rank: 0.23956779130768424\n",
"Episode: Roseroad | Rank: 0.04258314482360096\n",
"Episode: Winterfell | Rank: 0.034810126582276814\n",
"Episode: Meereen | Rank: 0.02805987389902162\n",
"Episode: The Twins | Rank: 0.018445877653173345\n",
"Episode: Beyond the Wall | Rank: 0.016195793425421594\n",
"Episode: Castle Black | Rank: 0.013741156086056073\n",
"Episode: The Narrow Sea | Rank: 0.007400009626028442\n",
"Episode: Riverlands | Rank: 0.005968137844731878\n",
"Episode: The Wall | Rank: 0.005559031621504291\n"
"Episode: Kings Landing | Rank: 0.23956779130768768\n",
"Episode: Roseroad | Rank: 0.042583144823601586\n",
"Episode: Winterfell | Rank: 0.0348101265822773\n",
"Episode: Meereen | Rank: 0.028059873899022026\n",
"Episode: The Twins | Rank: 0.018445877653173588\n",
"Episode: Beyond the Wall | Rank: 0.01619579342542183\n",
"Episode: Castle Black | Rank: 0.013741156086056265\n",
"Episode: The Narrow Sea | Rank: 0.007400009626028546\n",
"Episode: Riverlands | Rank: 0.005968137844731962\n",
"Episode: The Wall | Rank: 0.005559031621504369\n"
]
}
],
Expand Down Expand Up @@ -970,16 +970,16 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Episode: The Bells | Rank: 0.1717263469904861\n",
"Episode: The Spoils of War | Rank: 0.0418917626810729\n",
"Episode: The Winds of Winter | Rank: 0.0414853946550654\n",
"Episode: Battle of the Bastards | Rank: 0.027262513744800945\n",
"Episode: The Watchers on the Wall | Rank: 0.017712865133623402\n",
"Episode: Blackwater | Rank: 0.01486828895157052\n",
"Episode: The Dance of Dragons | Rank: 0.012023712769517645\n",
"Episode: Dragonstone | Rank: 0.011210976717502538\n",
"Episode: Sons of the Harpy | Rank: 0.009991872639479874\n",
"Episode: The Rains of Castamere | Rank: 0.009382320600468544\n"
"Episode: The Bells | Rank: 0.1717263469904827\n",
"Episode: The Spoils of War | Rank: 0.04189176268107212\n",
"Episode: The Winds of Winter | Rank: 0.04148539465506471\n",
"Episode: Battle of the Bastards | Rank: 0.02726251374480041\n",
"Episode: The Watchers on the Wall | Rank: 0.017712865133623062\n",
"Episode: Blackwater | Rank: 0.014868288951570253\n",
"Episode: The Dance of Dragons | Rank: 0.012023712769517412\n",
"Episode: Dragonstone | Rank: 0.011210976717502322\n",
"Episode: Sons of the Harpy | Rank: 0.009991872639479682\n",
"Episode: The Rains of Castamere | Rank: 0.009382320600468372\n"
]
}
],
Expand Down Expand Up @@ -1010,7 +1010,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 37,
"id": "d1834484",
"metadata": {
"scrolled": true
Expand Down Expand Up @@ -1065,7 +1065,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 38,
"id": "32535947",
"metadata": {
"scrolled": true
Expand Down Expand Up @@ -1117,7 +1117,7 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 39,
"id": "55679941",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -1228,7 +1228,7 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 40,
"id": "52cef37b",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -1353,13 +1353,13 @@
"text": [
"Daenerys Targaryen | BC: 0.2641671685970775\n",
"Lannister soldier | BC: 0.11163138590238263\n",
"Sons of the Harpy agent | BC: 0.043261207465688026\n",
"Jon Snow | BC: 0.04152733973021263\n",
"Wildling | BC: 0.03782396045716539\n",
"Stark Soldier | BC: 0.02860945609559934\n",
"Sons of the Harpy agent | BC: 0.04326120746568804\n",
"Jon Snow | BC: 0.04152733973021262\n",
"Wildling | BC: 0.037823960457165365\n",
"Stark Soldier | BC: 0.028609456095599336\n",
"Baratheon of Dragonstone soldier | BC: 0.027533816622595374\n",
"Cersei Lannister | BC: 0.026445092829209964\n",
"Stark soldier | BC: 0.02432818459201448\n",
"Cersei Lannister | BC: 0.026445092829209954\n",
"Stark soldier | BC: 0.024328184592014485\n",
"Nights Watch brother | BC: 0.02271917772956744\n"
]
}
Expand Down Expand Up @@ -1444,7 +1444,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 35,
"id": "65e19f9e",
"metadata": {},
"outputs": [
Expand All @@ -1467,8 +1467,9 @@
" \"\"\"\n",
")\n",
"\n",
"for result in results:\n",
" print(result[\"c\"].name, \"killed\", result[\"jon\"].name, \"and\", \n",
"result = next(results)\n",
"\n",
"print(result[\"c\"].name, \"killed\", result[\"jon\"].name, \"and\", \n",
" result[\"jon\"].name, \"killed\", result[\"c\"].name)"
]
},
Expand Down Expand Up @@ -1501,13 +1502,13 @@
"Traitor: Jon Snow | Kill count: 8 | Allegiance: Nights Watch\n",
"Traitor: Theon Greyjoy | Kill count: 4 | Allegiance: House Greyjoy\n",
"Traitor: Ramsay Bolton | Kill count: 4 | Allegiance: House Bolton\n",
"Traitor: Daario Naharis | Kill count: 2 | Allegiance: House Targaryen\n",
"Traitor: Euron Greyjoy | Kill count: 2 | Allegiance: House Greyjoy\n",
"Traitor: Nights Watch mutineer | Kill count: 2 | Allegiance: Nights Watch\n",
"Traitor: Daenerys Targaryen | Kill count: 2 | Allegiance: House Targaryen\n",
"Traitor: Sandor the Hound Clegane | Kill count: 2 | Allegiance: House Lannister\n",
"Traitor: Reek | Kill count: 2 | Allegiance: House Bolton\n",
"Traitor: Tyrion Lannister | Kill count: 2 | Allegiance: House Lannister\n",
"Traitor: Karl Tanner | Kill count: 2 | Allegiance: Nights Watch\n",
"Traitor: Daario Naharis | Kill count: 2 | Allegiance: House Targaryen\n"
"Traitor: Sandor the Hound Clegane | Kill count: 2 | Allegiance: House Lannister\n",
"Traitor: Daenerys Targaryen | Kill count: 2 | Allegiance: House Targaryen\n"
]
}
],
Expand Down

0 comments on commit a143829

Please sign in to comment.