Skip to content

Commit

Permalink
Relation filtering for edge methods + sparse metapath counting (#12)
Browse files Browse the repository at this point in the history
* filter relations for edge card; cap mp workers based on cores

* add relation filter to edge methods

* ci fix

* metapath tweaks

* refactor metapath counting with sparse matmuls

* docstring update

* use np.divmod

* avoid repeated work

* add metapath unit test

* reduce memory usage of metapath counting

* improve docstrings

* document new functionalities in the doc notebook

* tidy up redundant code

* fix typo

---------

Co-authored-by: Daniel Justus <[email protected]>
  • Loading branch information
AlCatt91 and danjust authored Nov 8, 2024
1 parent 9832774 commit acdcf42
Show file tree
Hide file tree
Showing 6 changed files with 647 additions and 108 deletions.
Loading

0 comments on commit acdcf42

Please sign in to comment.