4 Oct
2017
4 Oct
'17
12:27 p.m.
Hello Tiago, I am using gt.scalar_assortativity and I observed that it returns non-zero values and big variance values even when the values on the nodes are exactly same. g = gt.collection.data['karate'] s = g.new_vertex_property('float') for v in g.vertices(): s[v] = 0.9999 gt.scalar_assortativity(g, deg = s) This returns : (1.0, 8.889098493616578) I expect to see (0, 0) here. What am I missing? Thank you Snehal Shekatkar -- Snehal M. Shekatkar Pune India