Skip to content

Commit f39be74

Browse files
committed
updated gLV examples
fixed transposed interaction matrix to improve fit
1 parent df58d55 commit f39be74

3 files changed

Lines changed: 643 additions & 698 deletions

File tree

examples/gLV/examples-Rutter-Dekker.ipynb

Lines changed: 103 additions & 189 deletions
Large diffs are not rendered by default.

examples/gLV/examples-sim-gLV.ipynb

Lines changed: 536 additions & 509 deletions
Large diffs are not rendered by default.

mimic/model_infer/infer_gLV_bayes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ def run_inference(self) -> None:
285285
Y_obs = pm.Normal('Y_obs', mu=model_mean, sigma=sigma, observed=F)
286286

287287
# For debugging:
288+
# print if `debug` is set to 'high' or 'low'
289+
if self.debug in ["high", "low"]:
290+
initial_values = bayes_model.initial_point()
291+
print(f"Initial parameter values: {initial_values}")
288292

289293
# As tensor objects are symbolic, if needed print using .eval()
290294
# eg

0 commit comments

Comments
 (0)