We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2198465 commit 0c4fcd5Copy full SHA for 0c4fcd5
pymc_extras/inference/INLA/inla.py
@@ -12,7 +12,7 @@ def fit_INLA(
12
minimizer_seed: int = 42,
13
model: pm.Model | None = None,
14
minimizer_kwargs: dict = {"method": "L-BFGS-B", "optimizer_kwargs": {"tol": 1e-8}},
15
- return_latent_posteriors: bool = True,
+ return_latent_posteriors: bool = False,
16
**sampler_kwargs,
17
) -> az.InferenceData:
18
"""
@@ -40,4 +40,6 @@ def fit_INLA(
40
return idata
41
42
# Unmarginalize stuff
43
- raise NotImplementedError("Inference over the latent field with INLA is currently unsupported.")
+ raise NotImplementedError(
44
+ "Inference over the latent field with INLA is currently unsupported. Set return_latent_posteriors to False"
45
+ )
0 commit comments