Re: [graph-tool] get_edges_prob for every possible nonedge?

2020-04-01 Thread Tiago de Paula Peixoto
Am 01.04.20 um 02:40 schrieb Deklan Webster: > I was under the impression that passing a list corresponds to getting > the probability that *all* the edges are missing.  Indeed, when I try it > out I get back a scalar not a np array. I want to collect the > probability that each individual edge is

Re: [graph-tool] get_edges_prob for every possible nonedge?

2020-03-31 Thread Deklan Webster
I was under the impression that passing a list corresponds to getting the probability that *all* the edges are missing. Indeed, when I try it out I get back a scalar not a np array. I want to collect the probability that each individual edge is missing. Also, with respect to the heuristics I ment

Re: [graph-tool] get_edges_prob for every possible nonedge?

2020-03-23 Thread Tiago de Paula Peixoto
Am 19.03.20 um 18:33 schrieb Deklan Webster: > I'm attempting to use get_edges_prob to find the most likely missing > edges out of every possible non-edge. I know every possible edge is O(n^2). > > Currently I'm sampling the like this: > >     non_edges_probs = [[] for _ in range(len(non_edges))]

[graph-tool] get_edges_prob for every possible nonedge?

2020-03-19 Thread Deklan Webster
I'm attempting to use get_edges_prob to find the most likely missing edges out of every possible non-edge. I know every possible edge is O(n^2). Currently I'm sampling the like this: non_edges_probs = [[] for _ in range(len(non_edges))] def collect_edge_probs(s): s = s.levels[0]