Hello friends,

I am calling the vertex pagerank function on a graph as follows:

for v in g.vs:
    print (str(v["name"]) + "," + str(v.degree()) + "," +
str(v.pagerank()))#


carbon,44,0.0211771680628
offsets,2,0.0211771680628
weather,10,0.0211771680628
extremes,10,0.0211771680628
assessment,6,0.0211771680628

Even though the degrees are different, I get identical PR for each vertex.
When calling the pagerank on the graph instance, I get more realistic
results

I call the graph PR as follow:

print g.vs.pagerank()

Not sure what is going on, any idea?

Thanks very much,

-Ahmed
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to