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

Quick fix in poisson sample() function for vae #1702

Merged
merged 2 commits into from
Sep 20, 2022

Conversation

ricomnl
Copy link
Contributor

@ricomnl ricomnl commented Sep 20, 2022

Fixed poisson sampling in vae's sample() function, wrote test that would have caught it for the scvi model

@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Base: 91.32% // Head: 91.39% // Increases project coverage by +0.07% 🎉

Coverage data is based on head (9828458) compared to base (a268aab).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1702      +/-   ##
==========================================
+ Coverage   91.32%   91.39%   +0.07%     
==========================================
  Files         116      116              
  Lines        9206     9205       -1     
==========================================
+ Hits         8407     8413       +6     
+ Misses        799      792       -7     
Impacted Files Coverage Δ
scvi/module/_vae.py 97.19% <100.00%> (+2.33%) ⬆️
scvi/train/_callbacks.py 83.72% <100.00%> (-0.19%) ⬇️
scvi/distributions/_negative_binomial.py 88.14% <0.00%> (+1.03%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@adamgayoso adamgayoso enabled auto-merge (squash) September 20, 2022 16:47
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