CUQI-DTU / CUQIpy

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

Allow GibbsNew to fully utilize sampler state by enforcing more strict state handling after target setting #427

Open nabriis opened 2 months ago

nabriis commented 2 months ago

Currently GibbsNew reinitializes the sub-samplers after setting initial_point and initial_scale. Instead each sub-sampler should allow changing target without needed to reinitialize. This must be unit tested for each sampler.

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