Skip to content

Commit d6a009d

Browse files
authored
Merge pull request #518 from jdb78/feature/better-time-series-docs
feature/better-time-series-docs
2 parents 5aed8d1 + d6175c6 commit d6a009d

File tree

22 files changed

+1060
-1742
lines changed

22 files changed

+1060
-1742
lines changed

.github/workflows/automerge.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
pull_request_target:
44
branches: [master]
55

6+
check_suite:
7+
types:
8+
- completed
9+
610
jobs:
711
autoapprove:
812
name: Auto Approve a PR by dependabot
@@ -24,3 +28,5 @@ jobs:
2428
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2529
MERGE_LABELS: dependencies
2630
MERGE_METHOD: rebase
31+
MERGE_RETRY_SLEEP: 600000
32+
MERGE_RETRIES: 100

CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,35 @@
11
# Release Notes
22

3-
## UNRELEASED
3+
## v0.9.0 Simplified API (04/06/2021)
4+
5+
### Breaking changes
6+
7+
- Removed `dropout_categoricals` parameter from `TimeSeriesDataSet`.
8+
Use `categorical_encoders=dict(<variable_name>=NaNLabelEncoder(add_nan=True)`) instead (#518)
9+
- Rename parameter `allow_missings` for `TimeSeriesDataSet` to `allow_missing_timesteps` (#518)
10+
- Transparent handling of transformations. Forward methods should now call two new methods (#518):
11+
12+
- `transform_output` to explicitly rescale the network outputs into the de-normalized space
13+
- `to_network_output` to create a dict-like named tuple. This allows tracing the modules with PyTorch's JIT. Only `prediction` is still required which is the main network output.
14+
15+
Example:
16+
17+
```python
18+
def forward(self, x):
19+
normalized_prediction = self.module(x)
20+
prediction = self.transform_output(prediction=normalized_prediction, target_scale=x["target_scale"])
21+
return self.to_network_output(prediction=prediction)
22+
```
423

524
### Fixed
625

726
- Fix quantile prediction for tensors on GPUs for distribution losses (#491)
827
- Fix hyperparameter update for RecurrentNetwork.from_dataset method (#497)
928

29+
### Added
30+
31+
- Improved validation of input parameters of TimeSeriesDataSet (#518)
32+
1033
## v0.8.5 Generic distribution loss(es) (27/04/2021)
1134

1235
### Added

docs/source/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Creating datasets
3232

3333
* **It takes very long to create the dataset. Why is that?**
3434

35-
If you set ``allow_missings=True`` in your dataset, the creation of an index
35+
If you set ``allow_missing_timesteps=True`` in your dataset, the creation of an index
3636
might take far more time as all missing values in the timeseries have to be identified.
3737
The algorithm might be possible to speed up but currently, it might be faster for you to
3838
not allow missing values and fill them yourself.

docs/source/tutorials/ar.ipynb

Lines changed: 113 additions & 937 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)