Skip to content

Commit

Permalink
modified pagerank for cosimrank
Browse files Browse the repository at this point in the history
  • Loading branch information
jeshi96 committed Apr 6, 2020
1 parent 56b34fa commit bec2d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ligra_to_nx.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
def cosimrank(G, u, v, alpha=0.9,
max_iter=100, tol=1.0e-6, weight='weight'):
c = alpha
alpha = 0
alpha = 1
if len(G) == 0:
return {}

Expand Down

0 comments on commit bec2d6f

Please sign in to comment.