diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6df7fa8d..a4b62abe 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,7 @@ Changelog ========= +- Change lotka-volterra priors to follow the given reference - Fix README.md badges - Fix a few small issues with CONTRIBUTING.rst - Add Github Actions based CI workflow diff --git a/elfi/examples/lotka_volterra.py b/elfi/examples/lotka_volterra.py index c09cf88a..0d17ff44 100644 --- a/elfi/examples/lotka_volterra.py +++ b/elfi/examples/lotka_volterra.py @@ -170,9 +170,9 @@ def get_model(n_obs=50, true_params=None, seed_obs=None, **kwargs): priors = [] sumstats = [] - priors.append(elfi.Prior(ExpUniform, -2, 0, model=m, name='r1')) - priors.append(elfi.Prior(ExpUniform, -5, -2.5, model=m, name='r2')) # easily kills populations - priors.append(elfi.Prior(ExpUniform, -2, 0, model=m, name='r3')) + priors.append(elfi.Prior(ExpUniform, -6., 2., model=m, name='r1')) + priors.append(elfi.Prior(ExpUniform, -6., 2., model=m, name='r2')) # easily kills populations + priors.append(elfi.Prior(ExpUniform, -6., 2., model=m, name='r3')) priors.append(elfi.Prior('poisson', 50, model=m, name='prey0')) priors.append(elfi.Prior('poisson', 100, model=m, name='predator0')) priors.append(elfi.Prior(ExpUniform, np.log(0.5), np.log(50), model=m, name='sigma'))