-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Trouble converging pagerank algorithm on any size dataset #13
Comments
Hi. Can you check whether the grid formatted data is correct or not? You may do this by printing inside the UDF of stream_edges. |
Not entirely sure about validation of grid formatted data, i did the following - another point of validation : bfs, wcc work as expected with the same grid. looks like pagerank is stuck while waiting for threads (in stream_edges) to terminate (graph.cpp:419) -Thanks |
|
100% |
just a thought : if In my dataset i have degrees of few vertices as 0. Making the initialisation of pagerank vector as (1/vertices) solves my issue Correct me if i'm wrong - This scheme of initialisation is standard as far as I know (this makes pagerank values of nodes to sum up to 1) Please let me know your thoughts on this. |
It appears that the initialization scheme causes the issue. Thanks for reporting this. |
is there any version this issue is included? I have exactly same problem am I doing right? |
Hello,
There is no error that i can log here. but I have followed the documentation as-is.
Test-machine - I have a small ubuntu instance with RAM 4.9GB, 2 VCPUs and 10GB ssd.
I have tried with LiveJournal and zachary's karate datasset(tiny dataset with 35 vertices),
sudo ./build/bin/pagerank ./data/zachary_grid 1 1
PageRank program does not converge/terminate.
Do you have an idea about what could I be missing?
The text was updated successfully, but these errors were encountered: