Skip to content

Commit

Permalink
Prediction intervals example noteook (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
brsnw250 committed Dec 15, 2023
1 parent 9e577bb commit dab9dad
Show file tree
Hide file tree
Showing 5 changed files with 1,674 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `ConformalPredictionIntervals` method for prediction intervals estimation ([#152](https://github.com/etna-team/etna/pull/152))
- Add DeepARNativeModel ([#114](https://github.com/etna-team/etna/pull/114))
- `EmpiricalPredictionIntervals` method for prediction intervals estimation ([#173](https://github.com/etna-team/etna/pull/173))
-
- Prediction intervals tutorial notebook ([#189](https://github.com/etna-team/etna/pull/189))
-
-
-
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ To set up a configuration for your project you should create a `.etna` file at t

We have also prepared a set of tutorials for an easy introduction:

| Notebook | Interactive launch |
|:-----------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------:|
| Notebook | Interactive launch |
|:----------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------:|
| [Get started](https://github.com/etna-team/etna/tree/master/examples/101-get_started.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/etna-team/etna/master?filepath=examples/101-get_started.ipynb) |
| [Backtest](https://github.com/etna-team/etna/tree/master/examples/102-backtest.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/etna-team/etna/master?filepath=examples/102-backtest.ipynb) |
| [EDA](https://github.com/etna-team/etna/tree/master/examples/103-EDA.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/etna-team/etna/master?filepath=examples/103-EDA.ipynb) |
Expand All @@ -196,6 +196,7 @@ We have also prepared a set of tutorials for an easy introduction:
| [Hierarchical time series](https://github.com/etna-team/etna/blob/master/examples/303-hierarchical_pipeline.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/etna-team/etna/master?filepath=examples/303-hierarchical_pipeline.ipynb) |
| [Forecast interpretation](https://github.com/etna-team/etna/tree/master/examples/304-forecast_interpretation.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/etna-team/etna/master?filepath=examples/304-forecast_interpretation.ipynb) |
| [Classification](https://github.com/etna-team/etna/blob/master/examples/305-classification.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/etna-team/etna/master?filepath=examples/305-classification.ipynb) |
| [Prediction intervals](https://github.com/etna-team/etna/tree/master/examples/306-prediction_intervals.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/etna-team/etna/master?filepath=examples/306-prediction_intervals.ipynb) |

## Documentation

Expand Down
9 changes: 9 additions & 0 deletions docs/source/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,12 @@ Advanced

^^^
How to perform time series classification

.. grid-item-card:: Prediction intervals
:text-align: center
:link: tutorials/306-prediction_intervals
:link-type: doc
:class-header: card-tutorial-advanced

^^^
How to estimate prediction intervals
1,645 changes: 1,645 additions & 0 deletions examples/306-prediction_intervals.ipynb

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,22 @@ We have prepared a set of tutorials for an easy introduction:
- Loading pretrained analyzer
- Analyzing segments predictability


#### [Prediction intervals](https://github.com/etna-team/etna/tree/master/examples/306-prediction_intervals.ipynb)
- Loading and preparing data
- Estimating intervals using builtin method
- Accessing prediction intervals in `TSDataset`
- Computing interval metrics
- Estimating prediction intervals using `experimental.prediction_intervals` module
- `NaiveVariancePredictionIntervals`
- `ConformalPredictionIntervals`
- `EmpiricalPredictionIntervals`
- Prediction intervals for ensembles
- Custom prediction interval method
- Non-parametric method
- Estimating historical residuals


## Scripts

### Hyperparameter search
Expand Down

0 comments on commit dab9dad

Please sign in to comment.