Skip to content

Add optional weight to pagerank#2555

Open
phdavis1027 wants to merge 1 commit into
Pometry:db_v4from
phdavis1027:feat-weighted-pagerank
Open

Add optional weight to pagerank#2555
phdavis1027 wants to merge 1 commit into
Pometry:db_v4from
phdavis1027:feat-weighted-pagerank

Conversation

@phdavis1027
Copy link
Copy Markdown

What changes were proposed in this pull request?

Add an optional weight parameter to pagerank

Why are the changes needed?

To capture the semantics of weighted pagerank. For example, in fraud detection

Does this PR introduce any user-facing change? If yes is this documented?

Yes, it adds an extra param which is captured in the docstrings

How was this patch tested?

Test scenarios were checked for exact match with networkx. Additionally, basic semantic sanity checking like 'weight =None' should be treated as equivalent to all weights = 1.0

Are there any further changes required?

No

@phdavis1027 phdavis1027 force-pushed the feat-weighted-pagerank branch from 81aeca1 to de7612f Compare April 16, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant