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

Separate functions and data #366

Closed osorensen closed 4 months ago

osorensen commented 7 months ago

In SMC, it was very useful to create a particle class which contains the data, and then have other classes with mainly functions. Should do something similar for MCMC version, as it makes parallelization easier to perform.

osorensen commented 4 months ago

I have tried several design patterns here, but none that seemed to work very well. Closing for now.