Release Notes
0.0.26
Date: July 30 2023
Contributors: Brendan Patch
Notes:
Since 0.0.12 several minor maintenance fixes have been applied. In addition:
The repository where the package is stored has been set up with Semantic Release to enable more efficient CI/CD.
Python requirement is now 3.10 so that json files are more easily made accessible to the package.
The opt_method argument for
bd.estimate()
has been added to the help string of the function.Python notebook versions of code examples have been created and linked to from the home page.
0.0.12
Date: April 23 2022
Contributors: Brendan Patch
Notes:
Update requirements.txt
0.0.11
Date: April 23 2022
Contributors: Brendan Patch
Notes:
Update utility_em.py with change in bound from [] to None when function a_opt is defined to accomodate recent changes in SciPy.
0.0.10
Date: October 20 2021
Contributors: Brendan Patch
Notes:
Updated docstrings with arXiv reference for our paper.
0.0.9
Date: October 6 2021
Contributors: Sophie Hautphenne and Brendan Patch
Notes:
Substantial revision to the ABC algorithm in
bd.estimate()
.Minor changes to examples throughout.
0.0.8
Date: August 29 2021
Contributors: Brendan Patch
Notes:
Provided docstrings for all functions, added more comments throughout codebase, and changed the formatting of examples inside docstrings so that they have a copy button on the website.
Fixed a bug in
bdg.discrete()
andbdg.probability()
where the default seed was set to 1 instead of chosen randomly.Model ‘Poisson’ is now treated the same as other models in all functions.
Fixed a bug where models with exactly 1 unknown parameter had standard error reported as an array inside of a list instead of as a list.
Fixed a bug where attempting to compute the carrying capacity for models where this does not exist would throw an exception. Instead a nan is returned for this attribute in the output.
0.0.7
Date: August 9 2021
Contributors: Brendan Patch
Notes:
Added parameter tau as a kwarg for
birdepy.probability()
when method is set to ‘sim’.
0.0.6
Date: August 7 2021
Contributors: Brendan Patch
Notes:
Added scikit-learn>=0.24.2 to requirements.txt.
0.0.5
Date: August 7 2021
Contributors: Sophie Hautphenne and Brendan Patch
Notes:
Added gwr-inversion to requirements.txt.
Changed where gwr-inversion is imported.
Ensured that
np.ix_()
receives arrays containing np.int32 objects.Fixed a bug in the GPU version of the Verhulst model.
Attribute se of the output of
bd.estimate()
is now a list instead of an array.Simulation based standard errors and confidence intervals now use the estimated parameter as the initial condition for the optimisation procedure.
Improved how having a terminal state equal to 0 is handled by
bd.probability(method='gwasa')()
.Made it so an a value equal to 0 raises an exception in probability.gwasa.w_fun so that the high precision version of the function is invoked.
Updated how constraints are handled when differential evolution is used as an optimizer. Constraints are now always specified as dictionaries.
When polishing is used to enhance the output of differential evolution (which is the default action) it is done using method ‘SLSQP’ of
scipy.minimize()
instead of method ‘trust-constr’ (which causes problems in other parts of the package).Added the parameter ‘stat’ to the ABC algorithm so that ‘mean’ or ‘median’ can be used as a summary statistics for the posterior distribution.
Transition probability approximation methods ‘gwa’ and ‘gwasa’ now use a midpoint to anchor the linear approximation underlying their output.
Fixed a bug in
bd.forecast()
related to displaying xticks.Changed the default labels of x and y axis in bd.forecast().
Added the ‘export’ parameter to
bd.estimate()
andbd.forecast()
which allows plots to be exported as tex files.Removed a constant from the distance function in
bd.estimate(framework='abc')()
.Renamed
bdg.discrete_gpu()
tobdg.discrete()
.Renamed
bdg.probability_gpu()
tobdg.probability()
.Renamed attribute ‘err’ of
bd.estimate()
’s output to ‘val’.Renamed argument ‘num_bs_samples’ of
bd.estimate()
to ‘num_samples’.
0.0.4
Date: July 21 2021
Contributors: Brendan Patch
Notes:
Replaced iltcme.json with iltcme.py to fix a bug where iltcme.json would not load properly
0.0.3
Date: July 20 2021
Contributors: Sophie Hautphenne and Brendan Patch
Notes:
Many bug fixes.
Added basic readme.
Substantial revision of bd.forecast() function.
0.0.2
Date: July 14 2021
Contributors: Sophie Hautphenne and Brendan Patch
Notes:
Many bug fixes.
This version was not uploaded to PyPI.
0.0.1
Date: July 6 2021
Contributors: Sophie Hautphenne and Brendan Patch
Notes:
Initial release for testing