We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c75e4a commit c7802baCopy full SHA for c7802ba
brainx/nodal_roles.py
@@ -32,6 +32,8 @@ def within_community_degree(weighted_partition):
32
partition.degree_within_community(node)
33
all_community_degree.append()
34
all_community_degrees[node_community] = all_community_degree
35
+ # I don't know if it's faster to compute this on the fly every
36
+ # time or store the results in a dictionary?
37
std = np.std(all_community_degree) # std of community's degrees
38
mean = np.mean(all_community_degree) # mean of community's degrees
39
# z-score
0 commit comments