aboutsummaryrefslogtreecommitdiff
path: root/Fundamentals_of_Accelerated_Data_Science/2-04_networkx_cugraph.ipynb
diff options
context:
space:
mode:
authorleshe4ka46 <alex9102naid1@ya.ru>2025-11-15 16:30:38 +0300
committerleshe4ka46 <alex9102naid1@ya.ru>2025-11-18 14:05:14 +0300
commit2ade61411a014b3eed24bd2b382687d55233a9b5 (patch)
tree1b91eb11d38a0a053a7a806fedadb8c8a676738b /Fundamentals_of_Accelerated_Data_Science/2-04_networkx_cugraph.ipynb
parent5aaff9711387ce1ea1ec8ee5c5b4ecd9e1ea3dd1 (diff)
R(Cluster)
Diffstat (limited to 'Fundamentals_of_Accelerated_Data_Science/2-04_networkx_cugraph.ipynb')
-rw-r--r--Fundamentals_of_Accelerated_Data_Science/2-04_networkx_cugraph.ipynb19
1 files changed, 17 insertions, 2 deletions
diff --git a/Fundamentals_of_Accelerated_Data_Science/2-04_networkx_cugraph.ipynb b/Fundamentals_of_Accelerated_Data_Science/2-04_networkx_cugraph.ipynb
index 48764b4..e6f3382 100644
--- a/Fundamentals_of_Accelerated_Data_Science/2-04_networkx_cugraph.ipynb
+++ b/Fundamentals_of_Accelerated_Data_Science/2-04_networkx_cugraph.ipynb
@@ -62,6 +62,19 @@
]
},
{
+ "cell_type": "code",
+ "execution_count": null,
+ "id": "7375dbf9",
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# https://networkx.org/documentation/stable/reference/configs.html\n",
+ "\n",
+ "# nx.config.backend_priority = [\"cugraph\", \"..\"]\n",
+ "# env NETWORKX_BACKEND_PRIORITY=\"cugraph,..\""
+ ]
+ },
+ {
"cell_type": "markdown",
"id": "697ea4c9-b416-43d5-9d2c-28aa41ef2561",
"metadata": {},
@@ -291,12 +304,14 @@
"### Pagerank Centrality ###\n",
"Determines a node's importance based on the quantity and quality of links to it, similar to Google's original PageRank algorithm\n",
"\n",
- "PageRank’s main difference from EigenCentrality is that it accounts for link direction. Each node in a network is assigned a score based on its number of incoming links (its ‘indegree’). These links are also weighted depending on the relative score of its originating node."
+ "PageRank’s main difference from EigenCentrality is that it accounts for link direction. Each node in a network is assigned a score based on its number of incoming links (its ‘indegree’). These links are also weighted depending on the relative score of its originating node.\n",
+ "\n",
+ "1/n"
]
},
{
"cell_type": "code",
- "execution_count": 9,
+ "execution_count": null,
"id": "a17ee15b-8758-484b-82b9-a158187231c5",
"metadata": {},
"outputs": [],