Releases: virgesmith/humanleague
2.3.1
2.3.0
New features (python only)
-
most function outputs have changed to return a tuple of the main result and a dictionary containing the stats (if applicable), rather than a dictionary containing everything. For example, a return value that was previously:
{"result": r, "conv": ..., "rmse": ...}
now becomes
(r, {"conv": ..., "rmse": ...})
making it easier to access the result, e.g.:
result, stats = humanleague.integerise(p, n)
Removed features (python only)
- Remove deprecated
sobolSequence
function, in favour of the theSobolSequence
generator introduced in 2.2.0 - conda-forge releases are no longer supported. Conda users should use pip to install the package.
Bug fixes
- fixed some documentation issues
Internal
- CI improvements: automated release pipeline PRs to main are automatically version bumped and published on pypi
v2.2.0
New features
-
deprecate
sobolSequence
function (python only), in favour of... -
add a
SobolSequence
generator for more flexibility (python only). You can replace code where you have to specify the length of the sequence upfront, and store the entire sequence in memory, likedim = 3 length = 5 s = sobolSequence(dim, s) # returns 5 3-d points in the sequence
with
s = SobolSequence(dim) while some_condition: v = next(s) # returns the next 3-d point in the sequence
which is more flexible and can drastically reduce memory requirements.
Bug fixes
- Sobol sequence skip functionality now working as documented (previously was skipping twice as many values as it said it was)
Full Changelog: 2.1.11...2.2.0
v2.1.11
maintenance release only, no functional change
- fix some compiler warnings
- move R CI from appveyor to github
v2.1.10 maintenance release
python release only, no functional change
- adds type annotations
- delete unused files from repo
v2.1.9: maintenance release
python release only, no functional change
- fixes an issue with pinned
numpy
dependency version - migrate some CI builds to github workflows
- add code coverage
- improve python build system
v.2.1.8
2.1.8 maintenance release
no functional change
- migrates CI from travis to appveyor
- pre-emptive fix for compile error with upcoming gcc-11 release due 21Q2
- R packaging fixes
- minor documentation updates
v2.1.7
This release purely addresses a build configuration issue with conda-forge. Functionally identical to 2.1.5
v2.1.5
Python-only release, no functional change:
- use pybind11 rather than the C python API
- improve API documentation
v2.1.2
R-only release, no functional change
- update maintainer info for R package
- fix compiler warnings