-
Notifications
You must be signed in to change notification settings - Fork 8
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
Improve multithreading in fit_poisson_nmf #56
Comments
Thinking about this a bit more, my suggested enhancements may make extrapolation more complex since the current implementation extrapolates the whole L (F) matrix at once. Is it principled to extrapolate each additive Poisson regression? |
The computations for extrapolation are particularly simple, so I'm not sure if there is much to be gained by parallelizing this code (but I could be wrong). |
The issue is that fastTopics/R/fit_poisson_nmf.R Line 694 in f075a01
is also a single-threaded bottleneck for large data sets, and my suggestion to compute the loss function in each subproblem does not work here. |
Yes, although this relates to your earlier point about the cost function not being parallelized. If designed carefully I think I can tackle all these at the same time. I'll circle back to this soon. |
From @aksarkar:
The text was updated successfully, but these errors were encountered: