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

one cannot put multiple particle MCMC samplers in an MCMC #16

Open
paciorek opened this issue Jul 30, 2024 · 0 comments
Open

one cannot put multiple particle MCMC samplers in an MCMC #16

paciorek opened this issue Jul 30, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@paciorek
Copy link
Contributor

paciorek commented Jul 30, 2024

  1. if one tries to use the same type of filter multiple times, one gets this error:
Error in nimbleProject$instantiateCmodelValues(thisObj, dll) :
  Trying to instantiate a modelValues type that the project has no record of. Try setting option resetFunctions = TRUE in compileNimble
  1. if one tries to use distinct PF types for different samplers in an MCMC, one gets this:
Error: Not all elements in the fun list for compileNimbleFunction are specialized from the same nimbleFunction.  The generator names include: buildBootstrapFilter buildAuxiliaryFilter

As a side note, Perry suggested this work-around: "Provide a cleverly built "filterType" function that creates the filter object once and then returns the same object if called repeatedly. That way there would be only one filter object."

@paciorek paciorek added bug Something isn't working enhancement New feature or request labels Jul 30, 2024
@paciorek paciorek changed the title one cannot put multiple PF samplers in an MCMC one cannot put multiple particle MCMC samplers in an MCMC Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant