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 e367958 commit 8ed64fdCopy full SHA for 8ed64fd
pymc_extras/inference/INLA/inla.py
@@ -1,3 +1,5 @@
1
+import warnings
2
+
3
import arviz as az
4
import pymc as pm
5
@@ -83,6 +85,10 @@ def fit_INLA(
83
85
[3.48732847 0.35738072 1.46851421]
84
86
87
"""
88
+ warnings.warn(
89
+ "INLA is currently experimental. Please see the INLA Roadmap for more info: https://github.com/pymc-devs/pymc-extras/issues/340.",
90
+ UserWarning,
91
+ )
92
model = pm.modelcontext(model)
93
94
# Get the TensorVariable if Q is provided as an RV
tests/inference/INLA/test_inla.py
@@ -26,6 +26,7 @@ def rng():
26
return np.random.default_rng(seed)
27
28
29
+@pytest.mark.filterwarnings(r"ignore:INLA is currently experimental")
30
def test_3_layer_normal(rng):
31
32
Test INLA against a simple toy problem:
0 commit comments