Skip to content

Commit 6906ee8

Browse files
authored
[Docs] update website to 1.0.0rc8 (#1538)
* update contents.rst first paragraph * remove deprecated check_nblink_files.py * add Mlflow * update main contents.rst * improve main page * update conf contents * update conf contents 2 * update notebooks * include whole codebase
1 parent 5a3fabf commit 6906ee8

26 files changed

+488
-714
lines changed

docs/check_nblink_files.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

docs/source/code/components/base.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.components.base
5+
:members:
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.components.future_regressors.base
5+
:members:
6+
7+
.. automodule:: neuralprophet.components.future_regressors.linear
8+
:members:
9+
10+
.. automodule:: neuralprophet.components.future_regressors.neural_nets
11+
:members:
12+
13+
.. automodule:: neuralprophet.components.future_regressors.shared_neural_nets_coef
14+
:members:
15+
16+
.. automodule:: neuralprophet.components.future_regressors.shared_neural_nets
17+
:members:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.components.router
5+
:members:
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.components.seasonality.base
5+
:members:
6+
7+
.. automodule:: neuralprophet.components.seasonality.fourier
8+
:members:
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.components.trend.base
5+
:members:
6+
7+
.. automodule:: neuralprophet.components.trend.linear
8+
:members:
9+
10+
.. automodule:: neuralprophet.components.trend.piecewise_linear
11+
:members:
12+
13+
.. automodule:: neuralprophet.components.trend.static
14+
:members:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.custom_loss_metrics
5+
:members:

docs/source/code/data/process.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.data.process
5+
:members:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Core Module Documentation
22
==========================
33

4-
.. automodule:: neuralprophet.event_utils
4+
.. automodule:: neuralprophet.data.split
55
:members:

docs/source/code/data/transform.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.data.transform
5+
:members:

docs/source/code/forecaster.rst

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
Core Module Documentation
2-
==========================
3-
4-
.. toctree::
5-
:hidden:
6-
:maxdepth: 1
7-
8-
configure.py <configure>
9-
df_utils.py <df_utils>
10-
hdays_utils.py <hdays_utils>
11-
plot_forecast_plotly.py <plot_forecast_plotly>
12-
plot_forecast_matplotlib.py <plot_forecast_matplotlib>
13-
plot_model_parameters_plotly.py <plot_model_parameters_plotly>
14-
plot_model_parameters_matplotlib.py <plot_model_parameters_matplotlib>
15-
time_dataset.py <time_dataset>
16-
time_net.py <time_net>
17-
utils.py <utils>
1+
NeuralProphet Class
2+
-----------------------
183

194
.. automodule:: neuralprophet.forecaster
205
:members:

docs/source/code/index.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Code Documentation
2+
==========================
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
7+
forecaster.py (NeuralProphet) <forecaster>
8+
configure.py <configure>
9+
time_dataset.py <time_dataset>
10+
time_net.py <time_net>
11+
torch_prophet.py <torch_prophet>
12+
uncertainty.py <uncertainty>
13+
data/process.py <data/process>
14+
data/split.py <data/split>
15+
data/transform.py <data/transform>
16+
components/router.py <components/router>
17+
components/base.py <components/base>
18+
components/future_regressors <components/future_regressors/index>
19+
components/seasonality <components/seasonality/index>
20+
components/trend <components/trend/index>
21+
plot_forecast_plotly.py <plot_forecast_plotly>
22+
plot_forecast_matplotlib.py <plot_forecast_matplotlib>
23+
plot_model_parameters_plotly.py <plot_model_parameters_plotly>
24+
plot_model_parameters_matplotlib.py <plot_model_parameters_matplotlib>
25+
utils.py <utils>
26+
df_utils.py <df_utils>
27+
hdays_utils.py <hdays_utils>
28+
plot_utils.py <plot_utils>
29+
utils_metrics.py <utils_metrics>
30+
utils_torch.py <utils_torch>
31+
custom_loss_metrics.py <custom_loss_metrics>
32+
logger.py <logger>
33+
np_types.py <np_types>
34+
35+
36+
37+
38+

docs/source/code/logger.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.logger
5+
:members:

docs/source/code/np_types.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.np_types
5+
:members:

docs/source/code/plot_utils.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.plot_utils
5+
:members:

docs/source/code/torch_prophet.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.torch_prophet
5+
:members:

docs/source/code/uncertainty.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.uncertainty
5+
:members:

docs/source/code/utils_metrics.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.utils_metrics
5+
:members:

docs/source/code/utils_torch.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Core Module Documentation
2+
==========================
3+
4+
.. automodule:: neuralprophet.utils_torch
5+
:members:

docs/source/conf.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
# -- Project information -----------------------------------------------------
2727

2828
project = "NeuralProphet"
29-
copyright = "2021, Oskar Triebe"
29+
copyright = "2024, Oskar Triebe"
3030
author = "Oskar Triebe"
31-
31+
version = "1.0.0"
32+
release = "1.0.0rc8"
3233

3334
# -- General configuration ---------------------------------------------------
3435

@@ -54,6 +55,7 @@
5455
}
5556

5657
# Add any paths that contain templates here, relative to this directory.
58+
# Note: in use for custom sidebar and landing page
5759
templates_path = ["_templates"]
5860

5961
# List of patterns, relative to source directory, that match files and
@@ -102,9 +104,11 @@
102104
]
103105

104106
# change index.rst to contents.rst for custom landing page feature
105-
master_doc = "contents"
107+
root_doc = "contents"
106108

107-
html_additional_pages = {"index": "index.html"}
109+
html_additional_pages = {
110+
"index": "index.html",
111+
}
108112

109113

110114
def setup(app):

docs/source/contents.rst

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,39 @@
77
NeuralProphet
88
=========================================
99

10-
Based on Neural Networks, inspired by `Facebook Prophet <https://github.com/facebook/prophet>`_ and `AR-Net <https://github.com/ourownstory/AR-Net>`_, built on Pytorch.
10+
Fusing traditional time series algorithms using standard deep learning methods, built on PyTorch, inspired by `Facebook Prophet <https://github.com/facebook/prophet>`_ and `AR-Net <https://github.com/ourownstory/AR-Net>`_.
1111

1212

13-
Links
14-
-----
13+
Simple Example
14+
------------------
1515

16-
- `Read the paper <https://arxiv.org/abs/2111.15397?fbclid=IwAR2vCkHYiy5yuPPjWXpJgAJs-uD5NkH4liORt1ch4a6X_kmpMqagGtXyez4>`_
17-
- `GitHub repository <https://github.com/ourownstory/neural_prophet>`_
16+
.. code-block:: pycon
17+
18+
>>> from neuralprophet import NeuralProphet
19+
>>> m = NeuralProphet()
20+
>>> metrics = m.fit(df)
21+
>>> forecast = m.predict(df)
22+
>>> m.plot(forecast)
1823
19-
Why NeuralProphet?
24+
Features
2025
------------------
2126

22-
NeuralProphet changes the way time series modelling and forecasting is done:
27+
NeuralProphet provides many time series modeling and workflow features, in a simple package:
2328

24-
- Support for auto-regression and covariates.
29+
- Support for global modeling of many time series.
2530
- Automatic selection of training related hyperparameters.
26-
- Fourier term seasonality at different periods such as yearly, daily, weekly, hourly.
27-
- Piecewise linear trend with optional automatic changepoint detection.
28-
- Plotting for forecast components, model coefficients and final predictions.
29-
- Support for global modeling.
30-
- Lagged and future regressors.
31-
- Sparsity of coefficients through regularization.
32-
- User-friendly and powerful Python package:
31+
- Plotting utilities for forecast components, model coefficients and final predictions.
32+
- Local context through Autoregression and lagged covariates.
33+
- Changing trends and smooth seasonality at different periods.
34+
- Modeling of event, holiday, and future regressor effects.
35+
- Many customization options, such as regularization.
3336

34-
.. code-block:: pycon
37+
Resources
38+
-----------------
39+
40+
- `Read the paper <https://arxiv.org/abs/2111.15397?fbclid=IwAR2vCkHYiy5yuPPjWXpJgAJs-uD5NkH4liORt1ch4a6X_kmpMqagGtXyez4>`_
41+
- `GitHub repository <https://github.com/ourownstory/neural_prophet>`_
3542

36-
>>> from neuralprophet import NeuralProphet
37-
>>> m = NeuralProphet()
38-
>>> metrics = m.fit(your_df, freq='D')
39-
>>> forecast = m.predict(your_df)
40-
>>> m.plot(forecast)
4143

4244
.. toctree::
4345
:hidden:
@@ -63,23 +65,24 @@ NeuralProphet changes the way time series modelling and forecasting is done:
6365
.. toctree::
6466
:hidden:
6567
:maxdepth: 1
66-
:caption: The Science Behind
68+
:caption: Code Documentation
6769

68-
Model Overview<science-behind/model-overview>
69-
Presentation<https://github.com/ourownstory/neural_prophet/raw/61f1c6d4667db19a189e15037eb230ee5e90b80c/notes/NeuralProphet_Introduction.pdf>
70+
NeuralProphet <code/index>
7071

7172
.. toctree::
7273
:hidden:
7374
:maxdepth: 1
74-
:caption: API Reference
75+
:caption: About
7576

76-
forecaster.py <code/forecaster>
77+
Model Overview<science-behind/model-overview>
78+
Presentation<https://github.com/ourownstory/neural_prophet/raw/61f1c6d4667db19a189e15037eb230ee5e90b80c/notes/NeuralProphet_Introduction.pdf>
7779

7880
.. toctree::
7981
:hidden:
8082
:maxdepth: 1
8183
:caption: Community
8284

83-
Contribution<community/contribute>
84-
GitHub <https://github.com/ourownstory/neural_prophet>
85-
Slack <https://join.slack.com/t/neuralprophet/shared_invite/zt-1iyfs2pld-vtnegAX4CtYg~6E~V8miXw>
85+
Contribute<community/contribute>
86+
GitHub<https://github.com/ourownstory/neural_prophet>
87+
Slack<https://join.slack.com/t/neuralprophet/shared_invite/zt-1iyfs2pld-vtnegAX4CtYg~6E~V8miXw>
88+

docs/source/how-to-guides/feature-guides/global_local_modeling.ipynb

Lines changed: 54 additions & 338 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)