# ledge
[](https://travis-ci.org/reichlab/ledge) [](https://pypi.python.org/pypi/ledge)
Hedging algorithms with lag.
Besides the regular setting of ‘prediction with expert advice’, we are interested in working with truth values with _lags_. This results in a partially observed truth value for the present (and the past) at each step. In a discrete time setting with delays in accurate characterization of _final_ truth, a truth value is specified by:
timepoint: The time itself
lag: Time the value was revealed - timepoint
## Usage
ledge is a composed from a bunch of types and functions. It works with [DataArrays](http://xarray.pydata.org/en/stable/generated/xarray.DataArray.html#xarray.DataArray) for model _predictions_, _losses_ and _truths_.
There is no single model and the user is supposed to _compose_ a model using the components in here. Each module is written as a literate [org-mode](https://orgmode.org/) file and contains usage documentation for the containing functions. Start with the main file ./ledge/README.org.
Metadata
Release files for ledge 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ledge-0.0.8.tar.gz | 17.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ledge-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / ledge-0.0.8.tar.gz
| Download URL | ledge-0.0.8.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21f82e6543ee97c25776101cc3767147a9ed29724a098eb9400c57271d6363d8
|
|
BLAKE2b-256 checksum How to use checksums |
65dd038b985e7e1abf7ff279d5f440ccf40f2325bcd758bdf01b4f728fccadc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ledge-0.0.8-py3-none-any.whl
| Download URL | ledge-0.0.8-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22e511b99f1541f8fc635cd74f2bc7807d6548f728df2d39c82dcf3915a4e79b
|
|
BLAKE2b-256 checksum How to use checksums |
1d81619d82c63ba6fbb18856c52efc601201f846c269c8618a7f11de4f0979b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |