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

minimal version of GP #74

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

minimal version of GP #74

wants to merge 12 commits into from

Conversation

timtreis
Copy link
Collaborator

@timtreis timtreis commented Jun 5, 2023

No description provided.

@timtreis timtreis requested a review from arberqoku June 27, 2023 20:25
cellij/core/_pyro_models.py Outdated Show resolved Hide resolved
"z",
self.gp.pyro_model(self.covariate),
).view(-1, self.n_samples, self.n_factors, 1)
return sample
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we returning early here? We still need to sample the rest, no?

cellij/core/_pyro_models.py Outdated Show resolved Hide resolved
cellij/core/_factormodel.py Outdated Show resolved Hide resolved
cellij/core/_factormodel.py Outdated Show resolved Hide resolved
cellij/core/_factormodel.py Outdated Show resolved Hide resolved
cellij/core/models.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Merging #74 (b40ccfe) into main (a5d7d39) will increase coverage by 6.07%.
The diff coverage is 85.35%.

❗ Current head b40ccfe differs from pull request most recent head d0fce8b. Consider uploading reports for the commit d0fce8b to get more accurate results

@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
+ Coverage   43.73%   49.80%   +6.07%     
==========================================
  Files          16       17       +1     
  Lines        1452     1536      +84     
==========================================
+ Hits          635      765     +130     
+ Misses        817      771      -46     
Files Changed Coverage Δ
cellij/core/_factormodel.py 61.12% <71.64%> (+4.36%) ⬆️
cellij/core/models.py 70.96% <80.00%> (+2.78%) ⬆️
cellij/core/_pyro_guides.py 70.86% <94.44%> (+35.24%) ⬆️
cellij/core/_pyro_models.py 64.97% <97.72%> (+1.70%) ⬆️
cellij/core/__init__.py 100.00% <100.00%> (ø)
cellij/core/_gp.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

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.

3 participants