filterpy icon indicating copy to clipboard operation
filterpy copied to clipboard

residual_resample issue

Open siyangsong opened this issue 1 year ago • 0 comments

I noticed the definition of the residual in residual resampling should be

residual = N*weights - num_copies

while the current code has

https://github.com/rlabbe/filterpy/blob/3b51149ebcff0401ff1e10bf08ffca7b6bbc4a33/filterpy/monte_carlo/resampling.py#L70C1-L70C62

siyangsong avatar Aug 16 '23 15:08 siyangsong