Skip to content

Commit

Permalink
Merge branch 'master' into issue-533
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Geekman authored Mar 14, 2022
2 parents 34dbcf7 + 4e50849 commit 89a3182
Show file tree
Hide file tree
Showing 12 changed files with 60,292 additions and 1,863 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-
- Create `PerSegmentBaseModel`, `PerSegmentPredictionIntervalModel` ([#537](https://github.com/tinkoff-ai/etna/pull/537))
- Create `MultiSegmentModel` ([#551](https://github.com/tinkoff-ai/etna/pull/551))
-
- Add regressors example notebook ([#577](https://github.com/tinkoff-ai/etna/pull/577))
- Create `EnsembleMixin` ([#574](https://github.com/tinkoff-ai/etna/pull/574))
-
- Add option `season_number` to DateFlagsTransform ([#567](https://github.com/tinkoff-ai/etna/pull/567))
Expand Down Expand Up @@ -57,11 +59,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix `TSDataset.info`, `TSDataset.describe` methods ([#519](https://github.com/tinkoff-ai/etna/pull/519))
- Fix regressors handling for `OneHotEncoderTransform` and `HolidayTransform` ([#518](https://github.com/tinkoff-ai/etna/pull/518))
- Fix wandb summary issue with custom plots ([#535](https://github.com/tinkoff-ai/etna/pull/535))
-
- Small notebook fixes ([#595](https://github.com/tinkoff-ai/etna/pull/595))
-
- Fix import Literal in plotters ([#558](https://github.com/tinkoff-ai/etna/pull/558))
-
-
- Fix plot method bug when plot method does not plot all required segments ([#596](https://github.com/tinkoff-ai/etna/pull/596))
-
- [BUG] nn models make forecast without inverse_transform ([#541](https://github.com/tinkoff-ai/etna/pull/541))

Expand Down
4 changes: 3 additions & 1 deletion etna/datasets/tsdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,9 @@ def plot(
"""
if not segments:
segments = self.segments
k = min(n_segments, len(segments))
k = min(n_segments, len(segments))
else:
k = len(segments)
columns_num = min(2, k)
rows_num = math.ceil(k / columns_num)
start = self.df.index.min() if start is None else pd.Timestamp(start)
Expand Down
468 changes: 30 additions & 438 deletions examples/EDA.ipynb

Large diffs are not rendered by default.

561 changes: 31 additions & 530 deletions examples/backtest.ipynb

Large diffs are not rendered by default.

260 changes: 23 additions & 237 deletions examples/clustering.ipynb

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions examples/data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
This is a data folder for testing various functionalities in ETNA.

1. nordic_merch_sales.csv

See more details at https://www.kaggle.com/c/tabular-playground-series-jan-2022/
2. nordic_weather.csv

See more details at https://www.kaggle.com/adamwurdits/finland-norway-and-sweden-weather-data-20152019
26,299 changes: 26,299 additions & 0 deletions examples/data/nordic_merch_sales.csv

Large diffs are not rendered by default.

32,869 changes: 32,869 additions & 0 deletions examples/data/nordics_weather.csv

Large diffs are not rendered by default.

467 changes: 402 additions & 65 deletions examples/ensembles.ipynb

Large diffs are not rendered by default.

552 changes: 552 additions & 0 deletions examples/exogenous_data.ipynb

Large diffs are not rendered by default.

412 changes: 30 additions & 382 deletions examples/get_started.ipynb

Large diffs are not rendered by default.

249 changes: 41 additions & 208 deletions examples/outliers.ipynb

Large diffs are not rendered by default.

0 comments on commit 89a3182

Please sign in to comment.