-
Notifications
You must be signed in to change notification settings - Fork 21
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
Implement cov_diag
and mean_and_cov_diag
for FiniteGP
s
#116
Conversation
I like this. Before properly reviewing, the only thing that concerns me in this PR is the addition of the default for Is there a particular reason that you want this fallback implementation? |
No, there's no particular reason apart from the fact that it could be added and it would reduce the number of methods one has to implement for a subtype of |
mean_and_cov_diag
for FiniteGP
scov_diag
and mean_and_cov_diag
for FiniteGP
s
Right, yes. For me, the distinction is that the default for |
True, I'll remove it and if needed it could be added at some point. |
Codecov Report
@@ Coverage Diff @@
## master #116 +/- ##
==========================================
+ Coverage 99.20% 99.23% +0.02%
==========================================
Files 8 9 +1
Lines 252 261 +9
==========================================
+ Hits 250 259 +9
Misses 2 2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR
cov_diag
andmean_and_cov_diag
forFiniteGPs
and uses it to computemarginals
(see below),cov_diag
mean_and_cov
, andmean_and_cov_diag
mean_and_cov_diag