-
Notifications
You must be signed in to change notification settings - Fork 56
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
Multilevel Bayesian quadrature #750
Multilevel Bayesian quadrature #750
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.
What about multilevel_bayesquad_from_data
as name? It would reflect the paper title.
In terms of tests, you can assert the type of the return objects and the length of the info list.
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
I've renamed the method as you suggest. |
All the failed checks are about |
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.
hey Toni, some more comments, mainly on the tests, but they should be all fast to fix.
The failing test was a doctest due to numerical imprecision. There is a comment on how to fix it. You can check doctests locally by running tox -e py3 -- src/probnum/quad/
in the root directory.
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Co-authored-by: Maren Mahsereci <42842079+mmahsereci@users.noreply.github.com>
Codecov Report
@@ Coverage Diff @@
## main #750 +/- ##
==========================================
+ Coverage 91.16% 91.17% +0.01%
==========================================
Files 215 215
Lines 7977 7993 +16
Branches 1015 1019 +4
==========================================
+ Hits 7272 7288 +16
Misses 479 479
Partials 226 226
|
Thank you, Maren. That seems to have fixed most of the checks, though a Jupyter Notebook check still eludes me. |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
c58dc7a
to
be1fa10
Compare
It doesn't seem to be related to the changes you made but a separate issue. I made some cosmetic changes. Can you check if you're OK with it? |
@JonathanWenger @marvinpfoertner As the jupyter test seems to be failing for other reasons (see #781 ) we'll merge this anyways if it's OK with everyone (once the rest of the tests pass of course.) |
Thanks again, Maren. Your changes look OK. Happy to have this merged now. |
I just fixed this, see #783 . But merging this PR first is also fine with me. |
In a Nutshell
This RP adds a basic multilevel Bayesian quadrature method that is described in Proposition 1 of https://arxiv.org/pdf/2210.08329.pdf.
Detailed Description
bayesquad_from_data
a number of times and sums the outputs.bayesquad_multileve_from_data
.It may be that this should be reviewed only after some or all of #746, #748 and #749 are merged.
Related Issues
na