Closed veleritas closed 7 years ago
Ah, I see that it's updating the degree_to_probs
dictionary in the inner loop...
In that notebook, probs
is a reference to a list that gets appended to in the inner loop.
The outer loop permutes the bipartite network. The inner loop finds, for each degree tuple, what percentage of possible edges actually existed in the permuted network.
Make sense?
Hi Daniel,
Do you mind explaining what cell 9 in
1-prior.ipynb
is doing exactly? Code below:As far as I can tell, the inner loop does not actually do anything, since
probs
is a variable defined in the for loop, and gets overwritten each time. Also, theedges
variable gets overwritten in later cells, so I could not determine what this cell is doing. Since it takes so long to compute, I was wondering if it was even necessary.