Resolving some test problem consistency and apparent UKI instability #294
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 #287
Content
more consistent plotting between tests
adjustments to the test problems
removed inappropriate Localization tests in
EnsembleKalmanProcess/runtests.jl
examples, (they are already properly tested inLocalizers/runtests.jl
) - These caused blow up without disturbing the ensemble mean, therefore added some spread-checking too to ensure the tr(ensemble cov) does not increase too muchtest UKI with nonlinear problems, not just linear ones
Added prior Tikhonov regularization for UKI, modified test checks to account for the regularization.
Changed the default
update_freq
in UKI from 1 to 0. I.e. uses prior cov not current cov by default.Minor type change in UKI constructor to allow arrays to be converted to float type internally
added note to docs RE this update
UPDATED Example:
To reproduce run
julia --project; ENV["CES_TEST_PLOT_OUTPUT"] = true; ]; test
and look for the figuresXYZ_test_4.png
in the runtest directory.Problem:
x in R^2
, andy = (||x-x*||_1,||x-x*||_2, ||x-x*||_infty ) + N(0,0.01)
, 100 iterations of methods:Prior bounded by
[-2,2]
in x axisEKI & EKS
Tikhonov UKI quad & simplex