Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add igraph backend to scripts/bench.py #53

Open
eriknw opened this issue Mar 10, 2023 · 1 comment
Open

Add igraph backend to scripts/bench.py #53

eriknw opened this issue Mar 10, 2023 · 1 comment

Comments

@eriknw
Copy link
Member

eriknw commented Mar 10, 2023

We would like to be able to compare performance to igraph: https://github.com/igraph/python-igraph

Some algorithms may be different, which can make direct comparisons difficult to do well (for example, stopping criteria for e.g. PageRank could be different).

@szhorvat
Copy link

szhorvat commented Mar 10, 2023

for example, stopping criteria for e.g. PageRank could be different

Currently, igraph does not use power iteration at all for PageRank. Older versions did, but that code was removed, as it was slow, and did not support all features (such as personalization).

Mathematically, PageRank can be formulated either as a linear equation (assuming a damping factor less than 1), or as an eigenvector problem. At the moment, igraph has two methods: it can use the PRPACK library, which uses the linear equation picture, or it can use ARPACK to compute PageRank as an eigenvector.

See also https://igraph.discourse.group/t/implementing-the-ldbc-graphalytics-benchmark/417

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

No branches or pull requests

2 participants