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

Efficient version for global motif counts #1322

Merged
merged 17 commits into from
Nov 27, 2023
Merged

Efficient version for global motif counts #1322

merged 17 commits into from
Nov 27, 2023

Conversation

narnolddd
Copy link
Collaborator

@narnolddd narnolddd commented Oct 6, 2023

What changes were proposed in this pull request?

Array accumulators (thank you @fabianmurariu !) and global motif counting algo

Why are the changes needed?

Other algorithm was storing results per vertex in memory till right at the end, this is a massive memory hog unless you particularly care about the local results, especially if you're running with multiple time deltas

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

TBC

How was this patch tested?

Small unit test

Are there any further changes required?

need to expose to python + add back in the array acc test

@codecov
Copy link

codecov bot commented Oct 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (834be7d) 0.00% compared to head (967e62d) 0.00%.
Report is 20 commits behind head on master.

❗ Current head 967e62d differs from pull request most recent head 83b328d. Consider uploading reports for the commit 83b328d to get more accurate results

Additional details and impacted files
@@      Coverage Diff       @@
##   master   #1322   +/-   ##
==============================
==============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@narnolddd
Copy link
Collaborator Author

Also just edited some python docs for balance that were referring to rust objects.

@narnolddd narnolddd marked this pull request as ready for review November 2, 2023 16:39
@narnolddd narnolddd merged commit 8fc975b into master Nov 27, 2023
10 checks passed
@narnolddd narnolddd deleted the motifs-global branch November 27, 2023 11:02
fabianmurariu pushed a commit that referenced this pull request May 21, 2024
* array of accumulators works and efficient algo for global motifs with multiple time deltas

* agg not agging

* try with global agg

* global algo works

* rm print statement

* fmt

* renamed files to be more precise

* fixed something in docs

* remove global functionality from local since this is done elsewhere

* motif plotting capability

* remove print statement oops

* ordinal number for JOSS

---------

Co-authored-by: Ben Steer <[email protected]>
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.

2 participants