Replacement of Emulator processing with new encoding framework - #367
Merged
Conversation
Collaborator
|
Are mutable structs an option for you? |
Member
Author
|
Unsure, I was told to not use them (a verry long time ago) but have not revisited. I think it is something that could be discussed at a later time however. Thanks for raising the question though and should not be horrible to change given we are adding more API for these structs |
Re-organize data reduction
ArneBouillon
approved these changes
Jul 15, 2025
ArneBouillon
left a comment
Collaborator
There was a problem hiding this comment.
The commits since my merge look sensible to me :)
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
Closes #365
Content
Emulators/Regression_2d_2d/Emulators/Ishigami/Emulators/G-function/Emulators/L63/Sinusoid/Lorenz/(and "Lorenz spatial dep")Darcy/Cloudy/EDMF_data/- not validated resultsGCM/- not validated resultsMisc
abstractGPs("obsdim" keyword)Replacement pattern in examples:
Before:
Replaced with something like
or with
Example of R2->R2 regression (GP-SKL) from 200 points
Currently no encoder performas similarly to encoding in this simple problem. The task is to Reconstruct the 2D outputs from training data shown (under dim1<->dim2 correlated by noise):


A few of the cases we have:
No processing (
no-proc): mean and variance of predictionWhiten with noise/prior
struct-mat: mean and variance of predictionWhiten then apply CCA
whiten-then-cca: mean and variance of predictionExample of
Lorenz/emulate_sample_spatial_dep.jlUQ with GP, and using the

retain_var = 0.95, reducesR40->R80map toR19->R40