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

Poissonmultivi #2735

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

lauradmartens
Copy link
Contributor

Hi @martinkim0,

I had some time and added the Poisson loss also to the MultiVI model (POISSONMULTIVI) to the external models.

Addresses #2257 for Poisson likelihood.

@lauradmartens
Copy link
Contributor Author

I added the option to have separate size factors for RNA and ATAC, not sure if this is the best way.

Copy link

codecov bot commented Apr 18, 2024

Codecov Report

Attention: Patch coverage is 78.93082% with 134 lines in your changes missing coverage. Please review.

Project coverage is 88.42%. Comparing base (edd1fa1) to head (5e0d1b8).
Report is 117 commits behind head on main.

Files with missing lines Patch % Lines
src/scvi/external/poissonmultivi/_model.py 73.58% 70 Missing ⚠️
src/scvi/external/poissonmultivi/_module.py 82.51% 64 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2735      +/-   ##
==========================================
- Coverage   89.40%   88.42%   -0.98%     
==========================================
  Files         161      164       +3     
  Lines       13313    13949     +636     
==========================================
+ Hits        11902    12335     +433     
- Misses       1411     1614     +203     
Files with missing lines Coverage Δ
src/scvi/_constants.py 100.00% <100.00%> (ø)
src/scvi/external/__init__.py 100.00% <100.00%> (ø)
src/scvi/external/poissonmultivi/__init__.py 100.00% <100.00%> (ø)
src/scvi/external/poissonmultivi/_module.py 82.51% <82.51%> (ø)
src/scvi/external/poissonmultivi/_model.py 73.58% <73.58%> (ø)

... and 2 files with indirect coverage changes

@martinkim0 martinkim0 self-assigned this Apr 22, 2024
@martinkim0 martinkim0 added the P2 label Jul 12, 2024
@canergen
Copy link
Member

Quick check looks good. Can you explain, why we don't inherit from MULTIVI and MULTIVAE?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants