Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
28f8cec
add: community detection guide docs - wip
Jul 29, 2025
5632575
fix: ipython warning
BeaMarton13 Jul 31, 2025
1d700a8
fix: remove all warnings
BeaMarton13 Jul 31, 2025
be75a60
add: notebooks and made community detection guide prettier
Jul 31, 2025
3981103
delete: unused files
Jul 31, 2025
91b1b5f
delete: ipynb_checkpoints
BeaMarton13 Jul 31, 2025
0f36868
add: all modularities w plot
BeaMarton13 Aug 1, 2025
035c579
add: LPA test
BeaMarton13 Aug 1, 2025
4679657
Merge remote-tracking branch 'upstream/develop' into feat/community-d…
BeaMarton13 Aug 4, 2025
a99dcf0
removed checkpoints
BeaMarton13 Aug 4, 2025
99db9fd
add: working with clusterings
BeaMarton13 Aug 4, 2025
29e17dd
add: updated modularity
BeaMarton13 Aug 4, 2025
06b22bd
add: fixed seed for grid graph
BeaMarton13 Aug 4, 2025
c9417de
add: new resolution params
BeaMarton13 Aug 4, 2025
61bb0c2
add: updated notebooks
BeaMarton13 Aug 4, 2025
4be130d
add: updated mkdoc
BeaMarton13 Aug 5, 2025
612d756
add: download button - wip
BeaMarton13 Aug 5, 2025
6a8d874
fix: unclickable card
BeaMarton13 Aug 5, 2025
e88e9e7
add: change color on download hover
BeaMarton13 Aug 5, 2025
7708a03
add: updated modularity
BeaMarton13 Aug 6, 2025
8eef8d0
fix: PR comments
BeaMarton13 Aug 6, 2025
ef2fb40
add: updated title for working with clusterings and removed extra new…
BeaMarton13 Aug 6, 2025
f763788
add: lower case and moved sierpinski methods to functions
BeaMarton13 Aug 6, 2025
6ca7c75
add: LPA description
BeaMarton13 Aug 6, 2025
ea6d5e8
add: new sphinx version, resolution paramter update and reordered tab…
BeaMarton13 Aug 6, 2025
76dfe11
Merge remote-tracking branch 'upstream/develop' into feat/community-d…
BeaMarton13 Aug 6, 2025
e5eaa80
delete: interactive_resolution_on_sierpinski
BeaMarton13 Aug 7, 2025
e675c03
add: updated resoltuion parameter
BeaMarton13 Aug 7, 2025
3eb5565
fix: remove plot function
BeaMarton13 Aug 7, 2025
3eb8e3c
add: more space before titles
BeaMarton13 Aug 7, 2025
0623371
add: weighted clustering for GoT
BeaMarton13 Aug 7, 2025
1fb27aa
add: minor refactoring on significance and smaller note block in init…
BeaMarton13 Aug 8, 2025
c0233aa
add: minor changes
BeaMarton13 Aug 8, 2025
ea0ff51
add: smaller note box
BeaMarton13 Aug 8, 2025
ef96b4c
fix: remove duplicate plots and unused functions
BeaMarton13 Aug 8, 2025
39aa549
add more space before paragraph
BeaMarton13 Aug 11, 2025
ed837d8
add: readme for networks and removed potter-network
BeaMarton13 Aug 11, 2025
9125180
Update README.md
BeaMarton13 Aug 11, 2025
6d6111e
add: directed Leiden support and fix grid graph error
BeaMarton13 Aug 11, 2025
c8b2f15
Merge branch 'feat/community-detection-guide-docs' of github.com:BeaM…
BeaMarton13 Aug 11, 2025
bdcf209
add: download button before notebook - wip
BeaMarton13 Aug 11, 2025
f52a6d9
Merge remote-tracking branch 'upstream/develop' into feat/community-d…
BeaMarton13 Aug 11, 2025
41b5a51
add: centered titles in card
BeaMarton13 Aug 11, 2025
cc82050
Merge remote-tracking branch 'upstream/develop' into feat/community-d…
BeaMarton13 Aug 11, 2025
277c40b
add: resolution limit and modularity formula update
BeaMarton13 Aug 12, 2025
3744ab0
fix: Title level inconsistent error on docs
BeaMarton13 Aug 13, 2025
c86dd8b
add: updated generating and visualizing clusters notebook
BeaMarton13 Aug 13, 2025
4d22459
add: updated generating and visualizing clusters notebook - wip
BeaMarton13 Aug 13, 2025
d209f9c
add: simlpified circle viz and removed unused imports
BeaMarton13 Aug 14, 2025
d9d4ebd
add: intrductions and changed adjacency matrix from lower to upper
BeaMarton13 Aug 14, 2025
01819fb
add: expand factor and edge for polygon
BeaMarton13 Aug 15, 2025
1c10a8a
add: game of thrones export script, csv and remove from functions
BeaMarton13 Aug 15, 2025
09e78ac
add: updated plot order
BeaMarton13 Aug 15, 2025
f81513f
add: local seed with example in initial workflow
BeaMarton13 Aug 15, 2025
820b3fd
fix: math expression
BeaMarton13 Aug 18, 2025
0b57ee7
add: directed and density based modualrity
BeaMarton13 Aug 18, 2025
0a2ecf1
add: new resolution param example and print comms
BeaMarton13 Aug 25, 2025
45d8c14
fix: Data type cannot be displayed in build
BeaMarton13 Aug 25, 2025
83f51dd
add: from directed to undirected modularity
BeaMarton13 Aug 26, 2025
b275ab0
add: working with directed networks and minor fixes
BeaMarton13 Aug 27, 2025
04ef972
add: football network - WIP
BeaMarton13 Aug 29, 2025
16a5fb4
add: cut on dendrogram
BeaMarton13 Aug 29, 2025
da945b8
add: minor descriptions and labels for matrix
BeaMarton13 Aug 29, 2025
d82f30d
add: new membership description - wip and helper function descriptions
BeaMarton13 Aug 29, 2025
399c6fa
fix: minor fixes in some notebooks
BeaMarton13 Aug 29, 2025
6ebb7dc
add: SBM as network for membership vector
BeaMarton13 Aug 30, 2025
0e69ba4
add: hierarchical clustering
BeaMarton13 Aug 30, 2025
933df71
fix: notes - last commit for GSoC2025
BeaMarton13 Aug 31, 2025
54e23de
fix: sentence case - final commit for GSoC2025
BeaMarton13 Aug 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add: directed Leiden support and fix grid graph error
  • Loading branch information
BeaMarton13 committed Aug 11, 2025
commit 6d6111e2dd36fdc72042bf3855332065dde4c35b
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
"data": {
"text/html": [
"<!--| quarto-html-table-processing: none -->\n",
"<table id=\"itables_d54d3050_4e9f_417d_a5f1_4308e602dc16\"><tbody><tr>\n",
"<table id=\"itables_75c81ab6_ca9f_4959_8b2f_473b29b55ef3\"><tbody><tr>\n",
" <td style=\"vertical-align:middle; text-align:left\">\n",
" <a href=https://mwouts.github.io/itables/><svg class=\"main-svg\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
"width=\"64\" viewBox=\"0 0 500 400\" style=\"font-family: 'Droid Sans', sans-serif;\">\n",
Expand Down Expand Up @@ -370,11 +370,11 @@
"<script type=\"module\">\n",
" const { ITable, jQuery: $ } = await import(window._datatables_src_for_itables_2_4_4);\n",
"\n",
" document.querySelectorAll(\"#itables_d54d3050_4e9f_417d_a5f1_4308e602dc16:not(.dataTable)\").forEach(table => {\n",
" document.querySelectorAll(\"#itables_75c81ab6_ca9f_4959_8b2f_473b29b55ef3:not(.dataTable)\").forEach(table => {\n",
" if (!(table instanceof HTMLTableElement))\n",
" return;\n",
"\n",
" let dt_args = {\"scrollY\": \"300px\", \"scrollCollapse\": true, \"fixedColumns\": true, \"pageLength\": -1, \"layout\": {\"topStart\": \"pageLength\", \"topEnd\": \"search\", \"bottomStart\": \"info\", \"bottomEnd\": \"paging\"}, \"classes\": [\"display\", \"nowrap\"], \"style\": {\"table-layout\": \"auto\", \"width\": \"auto\", \"margin\": \"auto\", \"caption-side\": \"bottom\"}, \"order\": [], \"text_in_header_can_be_selected\": true, \"table_html\": \"<table><thead>\\n <tr style=\\\"text-align: right;\\\">\\n \\n <th>Method</th>\\n <th>Function in igraph (Python)</th>\\n <th>Directed Graph Support</th>\\n <th>Weighted Graph Support</th>\\n <th>Signed Graph Support</th>\\n <th>Sparse Graph Performance</th>\\n <th>Dense Graph Performance</th>\\n <th>Deterministic</th>\\n <th>Notes</th>\\n </tr>\\n </thead></table>\", \"data_json\": \"[[\\\"Edge Betweenness\\\", \\\"`Graph.community_edge_betweenness()`\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c (Slow for large)\\\", \\\"\\\\u2705\\\", \\\"Divisive hierarchical method. Good for small to medium graphs. Returns a dendrogram. Modularity-based partition can be extracted. The underlying modularity is typically for undirected graphs.\\\"], [\\\"Fast-Greedy\\\", \\\"`Graph.community_fastgreedy()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705 (Very efficient)\\\", \\\"\\\\u2705 (Can handle)\\\", \\\"\\\\u274c\\\", \\\"Agglomerative, modularity-maximization method. Returns a dendrogram. Efficient for large sparse graphs. Suffers from resolution limit. (Non-deterministic due to greedy choices / tie-breaking)\\\"], [\\\"Fluid Communities\\\", \\\"`Graph.community_fluid_communities()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u274c (weights ignored)\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"Propagation-based. Requires `k` (number of communities) as input. Stochastic. Very fast and scalable. Primarily for unweighted, undirected graphs. (Non-deterministic due to random seeds/updates)\\\"], [\\\"Infomap\\\", \\\"`Graph.community_infomap()`\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"Based on information theory (minimizing description length of random walks). Can handle directed and weighted graphs. (Non-deterministic due to random walks)\\\"], [\\\"Label Propagation\\\", \\\"`Graph.community_label_propagation()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"Fast, propagation-based. (Non-deterministic due to random initialization/tie-breaking). Uses `directed` parameter to respect edge direction.\\\"], [\\\"Leading Eigenvector\\\", \\\"`Graph.community_leading_eigenvector()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"Modularity-maximization (spectral method). Finds highest modularity partition. Can be slow for very large graphs. For undirected, weighted graphs.\\\"], [\\\"Leiden\\\", \\\"`Graph.community_leiden()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"Improvement over Louvain. Guarantees well-connected communities. Usually higher modularity and more stable than Louvain. Can use resolution parameter. Highly recommended for general use. (Non-deterministic due to local moves/tie-breaking)\\\"], [\\\"Louvain (Multilevel)\\\", \\\"`Graph.community_multilevel()`\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"Greedy, iterative modularity optimization. Fast and scalable. Returns hierarchical partition. Can suffer from resolution limit and potentially disconnected communities. (Non-deterministic due to local moves/tie-breaking)\\\"], [\\\"Spinglass\\\", \\\"`Graph.community_spinglass()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c (Slower)\\\", \\\"\\\\u274c\\\", \\\"Based on statistical mechanics (Ising model and simulated annealing). Can handle negative weights (as \\\\\\\"frustration\\\\\\\"). Can be computationally intensive, especially for dense or large graphs. Allows for fixed number of spins (`k`). (Stochastic by design)\\\"], [\\\"Walktrap\\\", \\\"`Graph.community_walktrap()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"Based on random walks. Merges communities that random walks tend to stay within. Hierarchical output (dendrogram). Efficient for sparse graphs.\\\"], [\\\"Optimal Modularity\\\", \\\"`Graph.community_optimal_modularity()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u274c (Small graphs only)\\\", \\\"\\\\u274c (Small graphs only)\\\", \\\"\\\\u2705\\\", \\\"Finds the **exact** highest modularity partition. Computationally very expensive. Only practical for very small graphs (dozens to ~100 nodes).\\\"], [\\\"Voronoi\\\", \\\"`Graph.community_voronoi()`\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"Partitions nodes into \\\\\\\"cells\\\\\\\" based on proximity (e.g., shortest path distance) to pre-defined \\\\\\\"seed\\\\\\\" nodes. Not a direct community *discovery* algorithm; it *assigns* based on input seeds. Used when node coordinates or influence regions are relevant.\\\"]]\"};\n",
" let dt_args = {\"scrollY\": \"300px\", \"scrollCollapse\": true, \"fixedColumns\": true, \"pageLength\": -1, \"layout\": {\"topStart\": \"pageLength\", \"topEnd\": \"search\", \"bottomStart\": \"info\", \"bottomEnd\": \"paging\"}, \"classes\": [\"display\", \"nowrap\"], \"text_in_header_can_be_selected\": true, \"style\": {\"table-layout\": \"auto\", \"width\": \"auto\", \"margin\": \"auto\", \"caption-side\": \"bottom\"}, \"order\": [], \"table_html\": \"<table><thead>\\n <tr style=\\\"text-align: right;\\\">\\n \\n <th>Method</th>\\n <th>Function in igraph (Python)</th>\\n <th>Directed Graph Support</th>\\n <th>Weighted Graph Support</th>\\n <th>Signed Graph Support</th>\\n <th>Sparse Graph Performance</th>\\n <th>Dense Graph Performance</th>\\n <th>Deterministic</th>\\n </tr>\\n </thead></table>\", \"data_json\": \"[[\\\"Edge Betweenness\\\", \\\"`Graph.community_edge_betweenness()`\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c (Slow for large)\\\", \\\"\\\\u2705\\\"], [\\\"Fast-Greedy\\\", \\\"`Graph.community_fastgreedy()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705 (Very efficient)\\\", \\\"\\\\u2705 (Can handle)\\\", \\\"\\\\u274c\\\"], [\\\"Fluid Communities\\\", \\\"`Graph.community_fluid_communities()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u274c (weights ignored)\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\"], [\\\"Infomap\\\", \\\"`Graph.community_infomap()`\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\"], [\\\"Label Propagation\\\", \\\"`Graph.community_label_propagation()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\"], [\\\"Leading Eigenvector\\\", \\\"`Graph.community_leading_eigenvector()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\"], [\\\"Leiden\\\", \\\"`Graph.community_leiden()`\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\"], [\\\"Louvain (Multilevel)\\\", \\\"`Graph.community_multilevel()`\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\"], [\\\"Spinglass\\\", \\\"`Graph.community_spinglass()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c (Slower)\\\", \\\"\\\\u274c\\\"], [\\\"Walktrap\\\", \\\"`Graph.community_walktrap()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\"], [\\\"Optimal Modularity\\\", \\\"`Graph.community_optimal_modularity()`\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u274c (Small graphs only)\\\", \\\"\\\\u274c (Small graphs only)\\\", \\\"\\\\u2705\\\"], [\\\"Voronoi\\\", \\\"`Graph.community_voronoi()`\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u274c\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\", \\\"\\\\u2705\\\"]]\"};\n",
" new ITable(table, dt_args);\n",
" });\n",
"</script>\n"
Expand Down
Loading