pydata / sparse

Sparse multi-dimensional arrays for the PyData ecosystem
https://sparse.pydata.org
BSD 3-Clause "New" or "Revised" License
581 stars 123 forks source link

Add `pagerank` example #673

Open mtsokol opened 3 months ago

mtsokol commented 3 months ago

Hi @hameerabbasi,

Here I share initial pagerank implementation (following scipy_pagerank).

A few comments:

github-actions[bot] commented 3 months ago

Test Results

5 923 tests  ±0   5 891 :white_check_mark: ±0   9m 24s :stopwatch: -7s     1 suites ±0      32 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit b2e63af8. ± Comparison against base commit c12b29eb.

This pull request skips 2 and un-skips 2 tests. ``` sparse.numba_backend.tests.test_compressed ‑ test_reductions_float16[f4-None-sum-kwargs0] sparse.numba_backend.tests.test_coo ‑ test_reductions_float16[f8-None-sum-kwargs0] ``` ``` sparse.numba_backend.tests.test_compressed ‑ test_reductions_float16[i4-None-sum-kwargs0] sparse.numba_backend.tests.test_coo ‑ test_reductions_float16[i4-None-sum-kwargs0] ```

:recycle: This comment has been updated with latest results.