-
Notifications
You must be signed in to change notification settings - Fork 0
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
MEFISTO with Poisson likelihood #2
Comments
Hi @willtownes, thanks for your interest in the method. In general, we recommend in most cases to use the Gaussian likelihood in combination with a suitable preprocessing (see also some guidelines/recommendations here) to take data characteristics into account while providing a good tradeoff in terms of scalability and performance. We added a small-scale simulation example for a simple illustration of the Poisson likelihood here. The numerical problems that result in the |
Hi @willtownes, just as quick update: We fixed the numerical issues which you encountered on the Poisson likelihood. If you install mofapy2 from the dev branch ( |
Hi Will, |
Hi, congratulations on this awesome method! I am interested in trying MEFISTO with the Poisson likelihood. I have been following the tutorial for the Visium brain data, but it seems to run into numerical problems after the first few iterations. Here is the code I have been using:
At iteration 12 the ELBO becomes nan and after iteration 19 it says "Optimising sigma node..." then raises an exception:
UnboundLocalError: local variable 'best_lidx' referenced before assignment
The text was updated successfully, but these errors were encountered: