ocbe-uio / BayesMallows

R-package for Bayesian preference learning with the Mallows rank model.
https://ocbe-uio.github.io/BayesMallows/
GNU General Public License v3.0
21 stars 9 forks source link

Add effective sample size option for resampling #359

Open osorensen opened 9 months ago

osorensen commented 9 months ago

ESS is defined from the weights. Let the user set a threshold below which resampling should be done. See, e.g., p. 417 in del Moral, Doucet, and Jasra (2006).

osorensen commented 9 months ago

Note that adding this option requires modification of code in various places, since we currently implicitly assume that all the weights are equal after the resampling step.