Closed marcoct closed 6 years ago
For now, if you want to combine resimulation with custom proposal in the generic SIR implementation, you need to explicitly write the resimulated fragments into the proposal program, and if they are not assessable generator calls, then you will be getting unnecessary noise. I think the interleaved execution combinator is the next useful version to target, because it seems conceptually simple and powerful in a way that ad-hoc solutions do not. See https://github.com/probcomp/Gen.jl/issues/1
Should be very simple. Iris and I started this earlier in the RANSAC notebook. I'll work off of that.
First, the non-generator implementations:
Re-simulation version:
With custom proposal:
The generator implementations will require a little bit more instrumentation. There will only be one implementation of each (written in terms of the generator implementation).