-
Notifications
You must be signed in to change notification settings - Fork 123
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
Adaptive kernel Kalman filter (AKKF) #1014
base: main
Are you sure you want to change the base?
Conversation
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.
Mainly minor comments and suggestions for equations.
Few queries mixed in there.
Haven't looked at tutorial yet.
stonesoup/types/state.py
Outdated
@property | ||
def mean(self): | ||
return self.state_vector @ self.weight | ||
|
||
@property | ||
def covar(self): | ||
return self.state_vector @ self.kernel_covar @ self.state_vector.T |
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.
No weight for covar?
# %% | ||
|
||
plotter.plot_tracks(track, [0, 2], particle=True) | ||
plotter.fig |
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.
Adding the comment below should use last image for gallery thumbnail, which I think is better.
# %% | |
plotter.plot_tracks(track, [0, 2], particle=True) | |
plotter.fig | |
# %% | |
# sphinx_gallery_thumbnail_number = -1 | |
plotter.plot_tracks(track, [0, 2], track_label='AKKF - quadratic', color='royalblue', particle=True) | |
plotter.fig |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1014 +/- ##
==========================================
+ Coverage 93.60% 93.66% +0.06%
==========================================
Files 202 205 +3
Lines 12990 13125 +135
Branches 2651 2668 +17
==========================================
+ Hits 12159 12294 +135
Misses 588 588
Partials 243 243
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This PR adds the Adaptive kernel Kalman filter (AKKF) [1]. The implementation includes the following:
QuadraticKernel
QuarticKernel
GaussianKernel
AdaptiveKernelKalmanPredictor
AdaptiveKernelKalmanUpdater
KernelParticleState
The above implementations are described in [2].
[1] M. Sun, M. E. Davies, I. Proudler and J. R. Hopgood, "Adaptive Kernel Kalman Filter," 2021 Sensor Signal Processing for Defence Conference (SSPD), Edinburgh, United Kingdom, 2021, pp. 1-5, doi: 10.1109/SSPD51364.2021.9541455.
[2] J. S. Wright, J. R. Hopgood, M. E. Davies, I. K. Proudler and M. Sun, "Implementation of Adaptive Kernel Kalman Filter in Stone Soup," 2023 Sensor Signal Processing for Defence Conference (SSPD), Edinburgh, United Kingdom, 2023, pp. 1-5, doi: 10.1109/SSPD57945.2023.10256739.