-
Notifications
You must be signed in to change notification settings - Fork 6
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
Improve test coverage #79
Conversation
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.
Just one minor thing, otherwise this looks great.
@@ -13,7 +13,7 @@ | |||
y = rand(rng, fx) | |||
|
|||
q = exact_variational_posterior(fx, fx, y) | |||
f_approx_post = posterior(SparseVariationalApproximation(fx, q)) | |||
f_approx_post = posterior(SparseVariationalApproximation(fx, q), fx, y) |
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.
I feel like this should be part of general approximation API tests, but that's for another issue...
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.
I'm happy with this. Please merge when you're happy.
I might still add some tests for Edit: No, I won't 😆 |
Adds tests to cover some currently uncovered lines. Closes #66