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

Resampler class hierarchy with multinomial/stratified/systematic/SSP resampling #11

Open
lawmurray opened this issue Feb 15, 2021 · 0 comments
Labels
help wanted startup project Ideal project for new contributors

Comments

@lawmurray
Copy link
Owner

Currently the resampling scheme is hard-coded in Birch: we use systematic resampling for standard particle filters, and multinomial resampling for conditional particle filters. The aim of this project is to implement some alternative resampling algorithms and provide the user with a choice of which to use.

Currently, all resampling functions are implemented in resample.birch. We would instead like to create a src/resampler directory and provide a hierarchy of classes such as MultinomialResampler, StratifiedResampler, etc, from which the user can choose. LibBi provides such a setup, which may be a useful reference.

For the filter and sample programs, we could then add support for choosing a resampler using something like the following in the config file, much like one can choose a filter class and sampler class at the moment:

"resampler": {
  "class": "StratifiedResampler"
}

A good set to include would be the multinomial, stratified and systematic resamplers, (see Murray, Lee & Jacob, 2015 for implementation) and the SSP algorithm (Gerber, Chopin & Whiteley, 2019).

References

  • L.M. Murray, A. Lee and P.E. Jacob (2015). Parallel Resampling in the Particle Filter. Journal of Computational and Graphical Statistics. [doi] [arXiv]

  • Gerber, M., Chopin, N., and Whiteley, N. (2019). Negative association, ordering and convergence of resampling methods. Ann. Statist. 47, 4:2236--2260. [doi] [arXiv]

@lawmurray lawmurray added help wanted startup project Ideal project for new contributors labels Feb 15, 2021
@lawmurray lawmurray changed the title Implement a resampler class hierachy with multinomial/stratified/systematic/SSP resampling Resampler class hierachy with multinomial/stratified/systematic/SSP resampling Feb 15, 2021
@lawmurray lawmurray changed the title Resampler class hierachy with multinomial/stratified/systematic/SSP resampling Resampler class hierarchy with multinomial/stratified/systematic/SSP resampling Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted startup project Ideal project for new contributors
Projects
None yet
Development

No branches or pull requests

1 participant