-
Notifications
You must be signed in to change notification settings - Fork 24
updated basic usage examples #121
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
Conversation
|
The Kalman methods are doing markedly worse than they used to. They're not as smooth. I've been investigating, and it's definitely something to do with my |
| P = P_ | ||
| if not np.isnan(y[n]): | ||
| xhat = xhat_.copy() | ||
| P = P_.copy() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one was bad. Subtle. Took me a long time to find, because the old code that worked properly was so different from this updated code, so winnowing and ablating down to the issue was complicated.
| [(-5, -6), (-4, -5), (0, -1), (0, 0)], | ||
| [(-5, -5), (-4, -4), (0, -1), (0, 0)], | ||
| [(-1, -1), (0, 0), (0, -1), (0, 0)], | ||
| [(1, 1), (2, 2), (1, 1), (2, 2)], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bounds get a lot tighter across the board with the bug fixed.
This one is best viewed by going to the Code section of the repo and selecting the
examples-updatebranch, then navigating to the notebook to see it rendered by GitHub. You can do the same with the prior version to compare.