Open gabrieag opened 9 years ago
Worth looking at... the behaviour could be toggled by a key-word argument switch?
Yes, this is just a reminder for myself. I have a working implementation of this, but the style and variable naming is a bit crude. Once the PR is merged, I'll add this in proper PEP8 style.
Rather than just dropping the particles with the smallest weights, implement stratified optimal resampling according to page 10 of Fearnhead and Liu (2007).