Closed YSanchezAraujo closed 1 year ago
Apologies for the delay I was travelling. I suspect you need to change your model type to an AdvancedPS.AbstractStateSpaceModel
instead of the more general AbstractMCMC.AbstractModel
. #79 might be helpful
Thanks for the reply! that does fix that portion. One of the things that I found really helpful about this particular tutorial (compared to say the GP one) was that it showed how to describe a model that allows for more complicated processes. That seems to have been removed in #79 because AdvancedPS.AbstractStateSpaceModel
looks like it requires the definitions of the addition functions (e.g. isdone
, initialization
) ?
Working through this example, and it suggests using PGAS to help with sample impoverishment. I've tried only replacing
pgas = AdvancedPS.PG(n_particles)
withpgas = AdvancedPS.PGAS(n_particles)
as is done here , while keeping all else the same but am met with this errorcould someone help with how to resolve this?