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

State Estimator: x0 as uncertain data #138

Merged
merged 107 commits into from
Apr 15, 2022

Conversation

lawrence-hwang
Copy link
Contributor

No description provided.

@lawrence-hwang lawrence-hwang added this to the v1.3 milestone Mar 5, 2022
@lawrence-hwang lawrence-hwang self-assigned this Mar 5, 2022
@codecov-commenter
Copy link

codecov-commenter commented Mar 7, 2022

Codecov Report

Merging #138 (d94d4ad) into dev (ceb53e1) will decrease coverage by 0.96%.
The diff coverage is 97.82%.

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

@@            Coverage Diff             @@
##              dev     #138      +/-   ##
==========================================
- Coverage   89.52%   88.55%   -0.97%     
==========================================
  Files          52       50       -2     
  Lines        2901     2491     -410     
==========================================
- Hits         2597     2206     -391     
+ Misses        304      285      -19     
Impacted Files Coverage Δ
...g_algs/state_estimators/unscented_kalman_filter.py 98.33% <92.30%> (-1.67%) ⬇️
src/prog_algs/state_estimators/kalman_filter.py 95.08% <93.33%> (-0.92%) ⬇️
src/prog_algs/state_estimators/particle_filter.py 95.23% <94.11%> (+1.81%) ⬆️
src/prog_algs/uncertain_data/scalar_data.py 92.59% <100.00%> (-1.96%) ⬇️
src/prog_algs/uncertain_data/uncertain_data.py 100.00% <100.00%> (ø)
tests/test_state_estimators.py 93.77% <100.00%> (+2.91%) ⬆️
tests/test_uncertain_data.py 88.76% <0.00%> (-5.21%) ⬇️
src/prog_algs/uncertain_data/unweighted_samples.py 87.17% <0.00%> (-4.05%) ⬇️
src/prog_algs/metrics/samples.py 80.00% <0.00%> (-3.34%) ⬇️
...og_algs/uncertain_data/multivariate_normal_dist.py 93.10% <0.00%> (-3.13%) ⬇️
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ceb53e1...e5c171e. Read the comment docs.

@teubert teubert linked an issue Mar 7, 2022 that may be closed by this pull request
1 task
@teubert teubert linked an issue Mar 8, 2022 that may be closed by this pull request
4 tasks
@teubert teubert removed a link to an issue Mar 8, 2022
1 task
@lawrence-hwang
Copy link
Contributor Author

mapping = {i: list(x0.keys()).index(key) for i, key in enumerate(model.states)}
cov = x0.cov  # In case it's calculated
mapped_cov = [
  [
    cov[mapping[i]][mapping[j]] for j in range(len(cov))
  ] for i in range(len(cov))
]

@teubert teubert merged commit b8b346e into dev Apr 15, 2022
@teubert teubert deleted the feature/state_estimator_x0_uncertain_data branch April 20, 2022 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

State Estimator: x0 as uncertain data
3 participants