Github user luyi0619 commented on the pull request:

    https://github.com/apache/spark/pull/1128#issuecomment-46525546
  
    In my opinion, if the numIter is set to 0, then call Pregel, the pagerank 
value of each vertex should be 1, which is as the same as the traditional 
definition of pagerank. Therefore, i think initialmessage should be set to 1, 
in order to let msgSum = 1 in the first round. At last, "resetProb + (1.0 - 
resetProb) * msgSum = 1"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to