dist_reg_mcmc()#
- liesel.model.dist_reg_mcmc(model, seed, num_chains, apply_jitter=True)[source]#
Configures an
EngineBuilderfor a distributional regression model.The EngineBuilder uses a Metropolis-in-Gibbs MCMC algorithm with an
IWLSKernelfor the regression coefficients and aGibbsKernelfor the smoothing parameters for a distributional regression model.- Parameters:
model (
Model) – A model built with aDistRegBuilder.seed (
int) – The PRNG seed for the engine builder.num_chains (
int) – The number of chains to be sampled.apply_jitter (
bool) – IfFalse, disables the jittering of the initial distributions regardless of the configuration in the variables inference configuration (seeMCMCSpec). (default:True)
- Return type: