Skip to content

Commit 8cb19d9

Browse files
refactor: removed inccorect laplace.py and moved inla into seperate folder
1 parent 34dfdfa commit 8cb19d9

File tree

4 files changed

+1
-587
lines changed

4 files changed

+1
-587
lines changed

pymc_extras/inference/INLA/__init__.py

Whitespace-only changes.

pymc_extras/inference/inla.py renamed to pymc_extras/inference/INLA/inla.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def fit_INLA(
1919
**sampler_kwargs,
2020
) -> az.InferenceData:
2121
warnings.warn("Currently only valid for a nested normal model. WIP.", UserWarning)
22-
# TODO ADD CHECK FOR NESTED NORMAL
2322

2423
model = pm.modelcontext(model)
2524

pymc_extras/inference/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
from pymc_extras.inference.fit import fit
16-
from pymc_extras.inference.inla import fit_INLA
16+
from pymc_extras.inference.INLA.inla import fit_INLA
1717
from pymc_extras.inference.laplace_approx.find_map import find_MAP
1818
from pymc_extras.inference.laplace_approx.laplace import fit_laplace
1919
from pymc_extras.inference.pathfinder.pathfinder import fit_pathfinder

0 commit comments

Comments
 (0)