"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/_docs/multiplicative_seasonality.md" between
prophet-1.0.tar.gz and prophet-1.1.tar.gz

About: Prophet is a tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.

multiplicative_seasonality.md  (prophet-1.0):multiplicative_seasonality.md  (prophet-1.1)
skipping to change at line 63 skipping to change at line 63
# R # R
prophet_plot_components(m, forecast) prophet_plot_components(m, forecast)
``` ```
```python ```python
# Python # Python
fig = m.plot_components(forecast) fig = m.plot_components(forecast)
``` ```
![png](/prophet/static/multiplicative_seasonality_files/multiplicative_seasonali ty_10_0.png) ![png](/prophet/static/multiplicative_seasonality_files/multiplicative_seasonali ty_10_0.png)
With `seasonality_mode='multiplicative'`, holiday effects will also be modeled a s multiplicative. Any added seasonalities or extra regressors will by default us e whatever `seasonality_mode` is set to, but can be overriden by specifying `mod e='additive'` or `mode='multiplicative'` as an argument when adding the seasonal ity or regressor. With `seasonality_mode='multiplicative'`, holiday effects will also be modeled a s multiplicative. Any added seasonalities or extra regressors will by default us e whatever `seasonality_mode` is set to, but can be overridden by specifying `mo de='additive'` or `mode='multiplicative'` as an argument when adding the seasona lity or regressor.
For example, this block sets the built-in seasonalities to multiplicative, but i ncludes an additive quarterly seasonality and an additive regressor: For example, this block sets the built-in seasonalities to multiplicative, but i ncludes an additive quarterly seasonality and an additive regressor:
```R ```R
# R # R
m <- prophet(seasonality.mode = 'multiplicative') m <- prophet(seasonality.mode = 'multiplicative')
m <- add_seasonality(m, 'quarterly', period = 91.25, fourier.order = 8, mode = ' additive') m <- add_seasonality(m, 'quarterly', period = 91.25, fourier.order = 8, mode = ' additive')
m <- add_regressor(m, 'regressor', mode = 'additive') m <- add_regressor(m, 'regressor', mode = 'additive')
``` ```
```python ```python
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)