CUQI-DTU / CUQIpy

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

GibbsNew Efficiency: Set targets only when needed #428

Closed nabriis closed 2 months ago

nabriis commented 2 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_