CUQI-DTU / CUQIpy

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

HybridGibbs initial point handling #473

Closed nabriis closed 3 months ago

nabriis commented 3 months ago

Is your feature request related to a problem? Please describe.

It should be possible to set initial point as part of the sampling strategy e.g

# Gibbs sampler
sampling_strategy = {
    "cx0" : MHNew(scale = sample_scale, inititial_point=0.3),
    "cx1" : MHNew(scale = sample_scale, inititial_point=0.5),
}
sampler = HybridGibbsNew(posterior, sampling_strategy)

and have the Gibbs sampler use that.