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

Add optimized sensor management tutorial #665

Merged
merged 8 commits into from
Aug 11, 2022
Merged

Conversation

nperree-dstl
Copy link
Contributor

Add tutorial explaining the sensor managers which use the Scipy optimize library. This PR also includes some updates/improvements to the optimised sensor managers.

@nperree-dstl nperree-dstl requested a review from a team as a code owner June 27, 2022 13:58
@nperree-dstl nperree-dstl requested review from hpritchett-dstl and orosoman-dstl and removed request for a team June 27, 2022 13:58
@codecov
Copy link

codecov bot commented Jun 28, 2022

Codecov Report

Merging #665 (8441dba) into main (bfecfd6) will decrease coverage by 0.02%.
The diff coverage is 82.35%.

❗ Current head 8441dba differs from pull request most recent head b30cf04. Consider uploading reports for the commit b30cf04 to get more accurate results

@@            Coverage Diff             @@
##             main     #665      +/-   ##
==========================================
- Coverage   94.55%   94.52%   -0.03%     
==========================================
  Files         168      168              
  Lines        8441     8456      +15     
  Branches     1633     1633              
==========================================
+ Hits         7981     7993      +12     
- Misses        343      345       +2     
- Partials      117      118       +1     
Flag Coverage Δ
integration 69.33% <70.58%> (+0.52%) ⬆️
unittests 92.00% <70.58%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
stonesoup/sensormanager/optimise.py 91.07% <82.35%> (-4.06%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

axes[1].legend()

# %%
# Uncertainty metric
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like this plot could be made more impactful by reducing the covariance in the prior states, or by making the sensor models more noisy. This is something that's subjective though, so feel free to ignore me!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this for the uncertainty metric graph? Good point, I may also remove the OSPA one as it doesn't show anything useful

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, the uncertainty metric plot.

stonesoup/sensormanager/optimise.py Outdated Show resolved Hide resolved
stonesoup/sensormanager/optimise.py Outdated Show resolved Hide resolved
@sdhiscocks sdhiscocks merged commit 3d368a8 into main Aug 11, 2022
@sdhiscocks sdhiscocks deleted the optimized_SM_tutorial branch August 11, 2022 11:17
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.

4 participants