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
Parallelize Sampling of LDT #744
Conversation
Deploy Preview for graspologic failed. Built with commit bcc4466 https://app.netlify.com/sites/graspologic/deploys/60a5729eba61610007da2e30 |
@kareef928 if there's randomness associated with the parallelization, add a |
@asaadeldin11 something like this right? (I tested the _sample_modified_ase method and got reproducibility from it) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job Kareef. Make these small changes and you'll be good to go.
@asaadeldin11 not sure about the |
just talked to @dwaynepryce, if we do want it to be |
I don't have a preference, we can also just change the parameter name in |
yep! |
|
conversely I'd prefer workers because I can parallelize leiden and I'm probably going to use |
So really if I have to choose right now, my preferential order is:
|
in that case, for the purposes of this PR, let's leave as |
@kareef928 for some reason there are conflicts here |
Reference Issues/PRs
Fixes #520
What does this implement/fix? Briefly explain your changes.
Parallelizes the sampling in the latent distribution test
Any other comments?
Notebook showing runtime comparison: https://nbviewer.jupyter.org/github/kareef928/graspologic-personal/blob/main/notebooks/ldt-parallel-sim.ipynb