Expand description
Personalized PageRank.
Functions§
- personalized_
pagerank - Compute Personalized PageRank with a teleport bias.
- personalized_
pagerank_ checked - Validated personalized PageRank. Checks
configand the personalization vector (length equalsnode_count, all entries finite and non-negative, sum is positive). Returns only the scores; usepersonalized_pagerank_checked_runfor convergence diagnostics. - personalized_
pagerank_ checked_ run - Validated personalized PageRank with full diagnostics. Errors on invalid
config or personalization vector; returns a
PageRankRunincluding iteration count and final L1 delta on success. - personalized_
pagerank_ run - Personalized PageRank with full diagnostics. No input validation — assumes
personalization.len() == graph.node_count(). Usepersonalized_pagerank_checked_runfor validated entrypoint.