new predict method API, and reduced sampling in input space#404
Open
new predict method API, and reduced sampling in input space#404
Conversation
42f37c7 to
105d172
Compare
Co-authored-by: ArneBouillon <45404227+ArneBouillon@users.noreply.github.com>
deprecate transform_to_real replace transform_to_real kwarg, and add add_obs_noise_cov
105d172 to
b02758f
Compare
…terior currently)
…gaussian lifts correctly
…teps during tests
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #404 +/- ##
==========================================
- Coverage 94.20% 92.92% -1.29%
==========================================
Files 10 10
Lines 1813 1950 +137
==========================================
+ Hits 1708 1812 +104
- Misses 105 138 +33 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Content
predict()for bothEmulatorandForwardMapWrappertransform_to_real=falsekwargadd_obs_noise_cov=falsekwarg to predict. when set true, this adds the regularization to the machine learning toolencode=nothingto the predict method, when set to"in", "out", "in_and_out"it will take in / push out encoded/decoded outputs.ForwardMapWrapper, samples are decoded into the output space before applicationAPI is now improved for user experience
get_encoder_from_scheduleto returnE,bfrom anencoder_scheduledefining an affine encodingEx + bMisc
ReverseDiff-mode differentiable MCMC samplers. But otherwise no noticeable differencesSinusoidexample, [now testing on Darcy...]_predict,,->;Detail on current encoding setup
Current settings: full (F) vs reduced (R) space
Darcy example
We compare, lossless encoding. Lossy encoding without inflation, Lossy encoding with inflation, and the truth. We look for the lossy encoding to by increased by using the prior variance. The D utility indicates the amount of contraction from prior to posterior (by comparison of determinants)
Lossless- (20D->50D), D utility O(10^11)Lossy - inflate- (18D->13D), D utility O(10^11)Lossy - no inflate- (18D->13D), D utility O(10^43)true