Skip to content
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

Error-Controller BRUF and Variable-Step BRUF #914

Merged
merged 10 commits into from
Feb 15, 2024
Merged

Conversation

spike-dstl
Copy link
Contributor

@spike-dstl spike-dstl commented Dec 20, 2023

This pull request is an extension of PR #889. #889 will be closed as it is superseded by this.

New Updater classes:

  • VariableStepBayesianRecursiveUpdater
  • ErrorControllerBayesianRecursiveUpdater

Extensions of the BayesianRecursiveUpdater. Unlike how the BayesianRecursiveUpdater uses equal measurement noise for each recursive step, the VariableStepBayesianUpdater over-inflates measurement noise in the earlier steps, requiring the use of a smaller number of steps. The ErrorControllerBayesianRecursiveUpdater is a further extension in which error control parameters are introduced.

@spike-dstl spike-dstl requested a review from a team as a code owner December 20, 2023 09:20
@spike-dstl spike-dstl requested review from sdhiscocks and csherman-dstl and removed request for a team December 20, 2023 09:20
@@ -699,3 +701,802 @@ def test_recursive_ensemble_errors():
# Run updater
with pytest.raises(ValueError):
_ = updater.update(hypothesis)


def test_vsbruf_single_step(measurement_model, prediction, measurement, timestamp):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to combine these tests using pytest.mark.parameterise instead of having many repeated tests with only a different updater?

Copy link
Contributor

@csherman-dstl csherman-dstl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a single spot that you missed.

stonesoup/updater/tests/test_recursive.py Outdated Show resolved Hide resolved
Fix use_joseph_cov flag in VSBRUF test

Co-authored-by: Christopher Sherman <146717651+csherman-dstl@users.noreply.github.com>
@sdhiscocks sdhiscocks merged commit cd30860 into main Feb 15, 2024
6 checks passed
@sdhiscocks sdhiscocks deleted the error_controller_BRUF branch February 15, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants