RoheLab / aPPR

Approximate Personalized Page Rank
https://rohelab.github.io/aPPR/
Other
16 stars 3 forks source link

[Suggestion] Return the probability mass from unavailable nodes to the seeds #14

Open fchen365 opened 3 years ago

fchen365 commented 3 years ago

We should consider returning the probability mass (i.e., values on p and r vector) from unavailable nodes to the seeds (on r vector). That is, if current_id is not available upon API query, we should put do the following two steps: (1) r[seednode_id] = r[seednode_id] + r[current_id] + p[current_id] (2) remove current_id from everywhere