Skip to content

Commit

Permalink
Fix centrality formula
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyuxie committed Nov 15, 2023
1 parent b00cc95 commit d5e8726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/algorithms/centrality/Centrality.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"__Degree Centrality__ <br>\n",
"Degree centrality is based on the notion that whoever has the most connections must be important. \n",
"\n",
"$C_{degree}(v) = \\frac{{\\text{{degree of vertex }} v}}{{\\text{{total number of vertices}} - 1}}$\n",
"$C_{degree}(v) = \\frac{{\\text{degree of vertex} v}}{{\\text{total number of vertices} - 1}}$\n",
"\n",
"\n",
"__Closeness Centrality__ <br>\n",
Expand Down

0 comments on commit d5e8726

Please sign in to comment.