CUQI-DTU / CUQIpy

https://cuqi-dtu.github.io/CUQIpy/
Apache License 2.0
48 stars 9 forks source link

GibbsNew Efficiency: Set targets only when needed #428

Closed nabriis closed 5 months ago

nabriis commented 6 months ago

Currently the GibbsNew sampler sets all targets in each Gibbs sub-step. This is inefficient. Instead we should only set the target we are working with.

_Originally posted by @jakobsj in https://github.com/CUQI-DTU/CUQIpy/pull/425#discussion_r1619200655_