Skip to content

Commit

Permalink
Chronos : Penalize underestimation example (#5627)
Browse files Browse the repository at this point in the history
* add example

* remove valid dataset

* fix typo

* modify parameters and graph

* update based on comment

* modify index link

* modify js

* update
  • Loading branch information
rnwang04 authored Sep 2, 2022
1 parent 85a9bbf commit 199b154
Show file tree
Hide file tree
Showing 3 changed files with 367 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/readthedocs/source/_static/js/chronos_tutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $(".checkboxes").click(function(){
var ids = ["ChronosForecaster","TuneaForecasting","AutoTSEstimator","AutoWIDE",
"MultvarWIDE","MultstepWIDE","LSTMForecaster","AutoProphet","AnomalyDetection",
"DeepARmodel","TFTmodel","hyperparameter","taxiDataset","distributedFashion",
"ONNX","Quantize","TCMFForecaster"];
"ONNX","Quantize","TCMFForecaster","PenalizeUnderestimation"];
showTutorials(ids);
var disIds = ["simulation"];
disCheck(disIds);
Expand Down
10 changes: 10 additions & 0 deletions docs/readthedocs/source/doc/Chronos/QuickStart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,16 @@
</details>
<hr>
<details id="PenalizeUnderestimation">
<summary>
<a href="https://github.com/intel-analytics/BigDL/tree/main/python/chronos/example/loss/penalize_underestimation.ipynb">Penalize underestimation with LinexLoss</a>
<p>Tag: <button value="forecast">forecast</button></p>
</summary>
<img src="../../../_images/GitHub-Mark-32px.png"><a href="https://github.com/intel-analytics/BigDL/tree/main/python/chronos/example/loss/penalize_underestimation.ipynb">View source on GitHub</a>
<p>This example demonstrates how to use TCNForecaster to penalize underestimation based on a built-in loss function LinexLoss.</p>
</details>
<hr>
</div>
<script src="../../../_static/js/chronos_tutorial.js"></script>
Expand Down
356 changes: 356 additions & 0 deletions python/chronos/example/loss/penalize_underestimation.ipynb

Large diffs are not rendered by default.

0 comments on commit 199b154

Please sign in to comment.