Skip to content

Commit

Permalink
Merge pull request #861 from uber/doc-update-v1.1.4.4
Browse files Browse the repository at this point in the history
refresh doc for v1.1.4.4
  • Loading branch information
edwinnglabs committed Mar 14, 2024
2 parents 93033f1 + 9dc972c commit b9ae63d
Show file tree
Hide file tree
Showing 24 changed files with 844 additions and 731 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/pypi-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,11 @@ jobs:
pip install setuptools wheel twine
pip install build
pip install auditwheel
# - name: Build package
# run:
# python -m build
# - name: Convert linux wheel to manylinux wheels
# run:
# auditwheel repair --plat manylinux2014_x86_64 -w dist dist/*linux_x86_64.whl
# - name: Remove platform specific linux wheels
# run:
# rm dist/*-linux_x86_64.whl
# - name: Publish package
# uses: pypa/gh-action-pypi-publish@v1.4.2
# with:
# user: __token__
# password: ${{ secrets.PYPI_PASSWORD }}
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install .
python -m build
python -m build . --sdist
python -m twine upload dist/*.tar.gz
124 changes: 62 additions & 62 deletions docs/tutorials/backtest.ipynb

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions docs/tutorials/build_your_own_model.ipynb

Large diffs are not rendered by default.

25 changes: 11 additions & 14 deletions docs/tutorials/decompose_prediction.ipynb

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions docs/tutorials/dlt.ipynb

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions docs/tutorials/ets_lgt_dlt_missing_response.ipynb

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/tutorials/exploratory_data_analysis.ipynb

Large diffs are not rendered by default.

174 changes: 87 additions & 87 deletions docs/tutorials/ktr1.ipynb

Large diffs are not rendered by default.

202 changes: 101 additions & 101 deletions docs/tutorials/ktr2.ipynb

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions docs/tutorials/ktr3.ipynb

Large diffs are not rendered by default.

72 changes: 36 additions & 36 deletions docs/tutorials/ktr4.ipynb

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions docs/tutorials/lgt.ipynb

Large diffs are not rendered by default.

133 changes: 32 additions & 101 deletions docs/tutorials/model_diagnostics.ipynb

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions docs/tutorials/model_estimations_predictions.ipynb

Large diffs are not rendered by default.

53 changes: 28 additions & 25 deletions docs/tutorials/other_utilities.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"source": [
"import pandas as pd\n",
"import numpy as np\n",
"from orbit.utils.general import expand_grid, regenerate_base_df"
"from orbit.utils.general import expand_grid, regenerate_base_df\n",
"\n",
"import warnings\n",
"warnings.filterwarnings('ignore')"
]
},
{
Expand Down Expand Up @@ -56,7 +59,7 @@
" '2022-01-31', '2022-02-28', '2022-03-31', '2022-04-30',\n",
" '2022-05-31', '2022-06-30', '2022-07-31', '2022-08-31',\n",
" '2022-09-30', '2022-10-31', '2022-11-30', '2022-12-31'],\n",
" dtype='datetime64[ns]', freq='M')\n"
" dtype='datetime64[ns]', freq='ME')\n"
]
}
],
Expand Down Expand Up @@ -119,43 +122,43 @@
" <th>0</th>\n",
" <td>x0</td>\n",
" <td>2020-01-31</td>\n",
" <td>0.646241</td>\n",
" <td>1.325731</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>x0</td>\n",
" <td>2020-02-29</td>\n",
" <td>-0.207489</td>\n",
" <td>0.725421</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>x0</td>\n",
" <td>2020-03-31</td>\n",
" <td>0.141275</td>\n",
" <td>-1.634074</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>x0</td>\n",
" <td>2020-04-30</td>\n",
" <td>-0.492888</td>\n",
" <td>-0.039233</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>x0</td>\n",
" <td>2020-05-31</td>\n",
" <td>1.287505</td>\n",
" <td>0.824808</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" key dt x\n",
"0 x0 2020-01-31 0.646241\n",
"1 x0 2020-02-29 -0.207489\n",
"2 x0 2020-03-31 0.141275\n",
"3 x0 2020-04-30 -0.492888\n",
"4 x0 2020-05-31 1.287505"
"0 x0 2020-01-31 1.325731\n",
"1 x0 2020-02-29 0.725421\n",
"2 x0 2020-03-31 -1.634074\n",
"3 x0 2020-04-30 -0.039233\n",
"4 x0 2020-05-31 0.824808"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -234,43 +237,43 @@
" <th>0</th>\n",
" <td>x0</td>\n",
" <td>2020-01-31</td>\n",
" <td>0.646241</td>\n",
" <td>1.325731</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>x0</td>\n",
" <td>2020-02-29</td>\n",
" <td>-0.207489</td>\n",
" <td>0.725421</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>x0</td>\n",
" <td>2020-03-31</td>\n",
" <td>0.141275</td>\n",
" <td>-1.634074</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>x0</td>\n",
" <td>2020-04-30</td>\n",
" <td>-0.492888</td>\n",
" <td>-0.039233</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>x0</td>\n",
" <td>2020-05-31</td>\n",
" <td>1.287505</td>\n",
" <td>0.824808</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" key dt x\n",
"0 x0 2020-01-31 0.646241\n",
"1 x0 2020-02-29 -0.207489\n",
"2 x0 2020-03-31 0.141275\n",
"3 x0 2020-04-30 -0.492888\n",
"4 x0 2020-05-31 1.287505"
"0 x0 2020-01-31 1.325731\n",
"1 x0 2020-02-29 0.725421\n",
"2 x0 2020-03-31 -1.634074\n",
"3 x0 2020-04-30 -0.039233\n",
"4 x0 2020-05-31 0.824808"
]
},
"execution_count": 4,
Expand Down Expand Up @@ -505,9 +508,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "orbit39",
"display_name": "orbit-test",
"language": "python",
"name": "orbit39"
"name": "myenv"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -519,7 +522,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.11.8"
}
},
"nbformat": 4,
Expand Down
33 changes: 17 additions & 16 deletions docs/tutorials/pyro_basic.ipynb

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/tutorials/quick_start.ipynb

Large diffs are not rendered by default.

72 changes: 36 additions & 36 deletions docs/tutorials/regression_penalty.ipynb

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/tutorials/regression_prior.ipynb

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/tutorials/residual_diagnostic.ipynb

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/tutorials/set_random_seed.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"1.1.4.3\n"
"1.1.4.4\n"
]
}
],
Expand Down Expand Up @@ -220,8 +220,8 @@
"name": "stderr",
"output_type": "stream",
"text": [
"2024-01-21 13:51:04 - orbit - INFO - Optimizing (CmdStanPy) with algorithm: LBFGS.\n",
"2024-01-21 13:51:04 - orbit - INFO - Optimizing (CmdStanPy) with algorithm: LBFGS.\n"
"2024-03-13 22:01:13 - orbit - INFO - Optimizing (CmdStanPy) with algorithm: LBFGS.\n",
"2024-03-13 22:01:13 - orbit - INFO - Optimizing (CmdStanPy) with algorithm: LBFGS.\n"
]
}
],
Expand Down Expand Up @@ -296,8 +296,8 @@
"name": "stderr",
"output_type": "stream",
"text": [
"2024-01-21 13:51:05 - orbit - INFO - Optimizing (CmdStanPy) with algorithm: LBFGS.\n",
"2024-01-21 13:51:05 - orbit - INFO - Optimizing (CmdStanPy) with algorithm: LBFGS.\n"
"2024-03-13 22:01:13 - orbit - INFO - Optimizing (CmdStanPy) with algorithm: LBFGS.\n",
"2024-03-13 22:01:13 - orbit - INFO - Optimizing (CmdStanPy) with algorithm: LBFGS.\n"
]
}
],
Expand Down Expand Up @@ -351,8 +351,8 @@
"name": "stderr",
"output_type": "stream",
"text": [
"2024-01-21 13:51:05 - orbit - INFO - Sampling (CmdStanPy) with chains: 4, cores: 8, temperature: 1.000, warmups (per chain): 225 and samples(per chain): 25.\n",
"2024-01-21 13:51:10 - orbit - INFO - Sampling (CmdStanPy) with chains: 4, cores: 8, temperature: 1.000, warmups (per chain): 225 and samples(per chain): 25.\n"
"2024-03-13 22:01:13 - orbit - INFO - Sampling (CmdStanPy) with chains: 4, cores: 8, temperature: 1.000, warmups (per chain): 225 and samples(per chain): 25.\n",
"2024-03-13 22:01:19 - orbit - INFO - Sampling (CmdStanPy) with chains: 4, cores: 8, temperature: 1.000, warmups (per chain): 225 and samples(per chain): 25.\n"
]
}
],
Expand Down Expand Up @@ -465,9 +465,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "orbit39",
"display_name": "orbit-test",
"language": "python",
"name": "orbit39"
"name": "myenv"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -479,7 +479,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.11.8"
},
"toc": {
"base_numbering": 1,
Expand Down
12 changes: 6 additions & 6 deletions docs/tutorials/utilities_simulation.ipynb

Large diffs are not rendered by default.

0 comments on commit b9ae63d

Please sign in to comment.