Commit graph

87 commits

Author SHA1 Message Date
Sam Snarr
2d8e6c7fd1
Added growth='flat' functionality in R (#1778)
* added `flat_growth_init()` function

* added validation for 'flat'

* changed `fit.prophet()` to handle `growth='flat'`

* added `trend='flat'` capabilities to `sample_predictive_trend()` and `fit.prophet()`

* updated STAN code to handle flat trend

* [Syntax fix] Removed unnecessary bracket

* updated documentation

* undid formatting that was accidentally applied by autoformatter

* undid more formatting that was accidentally applied by autoformatter

* added tests

* typo in `sample_predictive_trend()`

* updated notebook with example in R

* updated documentation
2021-01-14 13:53:08 -08:00
Ben Letham
6284fc0264 Fix artifacts in diagnostics nb markdown 2020-08-20 11:20:47 -07:00
Ben Letham
5e6c6a02f8 Refresh quickstart doc 2020-08-19 20:43:50 -07:00
Ben Letham
382448b8db Refresh markdown documentation 2020-08-19 20:40:04 -07:00
Ben Letham
08df4cf470 Minor clarification for multiplicative seasonality docs 2020-08-19 19:29:20 -07:00
Ben Letham
4027a2153f Update diagnostics documentation 2020-08-19 18:57:17 -07:00
Ben Letham
809c1b5662 Add serialization documentation 2020-08-19 17:36:00 -07:00
Ben Letham
6c3a8a8e07 Move flat trend docs to additional topics 2020-08-19 16:29:50 -07:00
Ben Letham
4a989b5693 Describe the use of extra regressors for seasonality with monthly data 2020-08-19 14:27:20 -07:00
Ben Letham
ff387078f3 Use monthly start frequency in doc 2020-08-19 14:22:57 -07:00
Ben Letham
b9601918f2 Update sub-daily components figure with continuous weekly seasonality 2020-08-19 14:13:57 -07:00
Ben Letham
64f71a9afc Add documentation about holidays with aggregated data 2020-08-19 14:08:16 -07:00
Ben Letham
48148fbeb5 Add discussion about needing future values 2020-08-19 13:54:24 -07:00
Ben Letham
a77adc34bb Typo fix 2020-08-19 13:41:16 -07:00
Ben Letham
dbe8f49de7 Update documentation for plotly plot 2020-08-18 13:56:55 -07:00
Ben Letham
6ec0a90a60 Use holidays package for Turkey 2020-08-17 14:24:47 -07:00
Lawrence A. Krukrubo
c7c63ff568
Style: Adding a method docstring (#1627)
Adding a docstring to the `stan_init()` method of
`additional_topics.ipynb` notebook
2020-08-17 14:04:06 -07:00
Ryan Nazareth
30bcfed918
Include mdape in performance metric docstring (#1512)
* update docstring with mdape in list for python perf metric func

* re-run python notebook cell to generate  mdape in results table

* remove comment

Co-authored-by: Ben Letham <bletham@gmail.com>
2020-06-05 17:51:25 -07:00
Ryan Nazareth
31841c90c9
import tqdm.auto instead (#1509) 2020-06-05 17:46:41 -07:00
Ryan Nazareth
f16d9df333
Add mdape performance metric to R (#1472)
* add test and initial function for mdape in R

* Add separate rolling_median_func and tests

* Modify rolling median function

* fix syntax in rolling median function

* sort by h

* R/diagnostics.R

* update .rd docs and notebook

* Add mdape to performance metrics params docstring
2020-05-20 12:28:50 -07:00
Ryan Nazareth
16e632a695
Add custom cutoff option to R (#1484)
* Add test for custom cutoff cv

* implement custom cutoff logic in cv function

* add docstring

* add description in notebook and rebuild .Rd docs

* fix bug and add test case for period is NULL

* replace s.POSIXct set_date
2020-05-15 14:32:54 -07:00
Ryan Nazareth
3578e93062
Add partial fit example and caveats to notebook (#1486)
* Add partial fit example and caveats to notebook

* correct typos

* Shift example to separate ipynb

* fix typos

* rename notebook
2020-05-14 21:59:37 -07:00
Ben Letham
0dd8e522f1 Remove plot from flat trend example 2020-05-14 21:45:03 -07:00
Ryan Nazareth
ac59b44ca3
add implementation for constant trend in Python (#1466)
* add implementation for constant trend

* force k and delta params to be 0s

* add tests and fix n_changepoints, changepoints_t to 0

* Add test for cv with constant trend

* Add docs and test for checking invalid input

* make changes to stan

* add transformed params block in stan and output flat trend vector

* correct syntax

* transformed params syntax

* Fix test and port changes to win stan file

* add test for flat trend function

* Add separate function for flat trend init

* fix test
2020-05-14 21:40:40 -07:00
Ryan Nazareth
caaaee8d34
Add example of auto parameter selection to notebook diagnostics (#1464)
* Add example of dask distributed parameter tuning to notebook diagnostics

* Rearrange description blocks and correct typos

* Add more informative explanations and tips in docs for tuning examples

* increase output df column width to see results

* add instructions for multiprocess and threaded

* reset index of hyperparameter tuning results df

* fix typos

* remove blank code cell

* grammar correction

* Add subsection

* Split different parameter optimsiation examples
2020-05-07 10:04:22 -07:00
Tom Augspurger
5fe3be86c5
Parallel Cross Validation (#1434)
* API: Refactor to parallel / cf

* Added Dask-based parallelism

* fix test

* cover bad parallel

* avoid multiprocess issue under setuptools tests

* Update notebook docs

* fix docstring

* install note

* arbitrary object

* fixups

* fixups

* fixups

* remove unused import
2020-04-28 12:25:41 -07:00
Chanran Kim
309035cb97
Update seasonality,_holiday_effects,_and_regressors.ipynb (#1440)
To solve the #1391 Problem
2020-04-23 13:18:27 -07:00
Ryan Nazareth
39c619dbf7
Running Cross-Validation with Multiprocessing Option (#1356)
* Add multiprocessing Pool and create function for single cutoff forecast

* add params to single forecast function

* Add iterable for input params for pool

* Add docstring for single cutoff forecast func

* Add check for multiprocessing in test_cross_validation

* check ofr is None and is True and add better description for multiprocess in docstring

* Raise error if wrong args chosen and add test

* fix conflicts

* Change arg to True/False, model.kwargs

* docstring units and few more fixes

* change to iterator and add back tqdm to for loop

* add option in diagnosics notebook about multiprocessing option

* add extra test for checking calls to single forecast func
2020-03-09 12:25:01 -07:00
Ryan Nazareth
0efd3d2abd
Update doc with recommended changepoint prior scales (#1335) 2020-03-03 14:47:52 -08:00
Ryan Nazareth
47961c01af
update quick start notebook plotly 4.0 plot (#1333) 2020-03-03 14:42:12 -08:00
Ben Letham
5f97759669 Add plotly components plot to quickstart notebook 2020-02-04 16:03:18 -08:00
Ben Letham
aeaf0ad2e1 documentation fix 2020-02-03 13:12:54 -08:00
Shu
3ef1d66d93 Add hyperlinks for easier reference to Quick start #1212 2020-01-28 15:16:32 -08:00
Ben Letham
b0c30454b6 Mention that plotly must be separately installed 2019-05-21 16:05:56 -07:00
Ben Letham
0a22055c8c Update documentation 2019-05-21 15:41:58 -07:00
Ben Letham
269133c133 Change cross validation performance metrics to first aggregate over horizon before computing rolling average (#839, #863) 2019-05-08 10:47:26 -07:00
Ben Letham
4e5e223e4f Add plotly plot to quickstart example 2019-05-06 16:15:23 -07:00
Ben Letham
25a562d1c0 Add conditional seasonality to seasonality documentation notebook 2019-03-22 11:53:29 -07:00
Ben Letham
324decf21d Fix broken link in quickstart 2019-01-08 17:28:54 -08:00
Ben Letham
52bbb08dee Add note to documentation about acceptable units for diagnostics 2018-12-03 19:20:21 -08:00
Louis Guitton
545045d615 fixed signature of plot_forecast_component in docs (#762)
* fixed signature of plot_forecast_component

fbprophet.plot.plot_forecast_component

* modified source notebook and ran make docs
2018-12-03 17:05:21 -08:00
Ben Letham
390af32290 Typo fix in documentation 2018-12-03 16:58:25 -08:00
Ben Letham
536fe931c6 Add documentation for country holidays 2018-12-03 11:54:55 -08:00
Ben Letham
65236ec89e Typo fix 2018-11-02 13:05:33 -07:00
ystoyanov
f473c743c9 Update seasonality,_holiday_effects,_and_regressors.ipynb (#633)
just a typo fix
2018-08-14 15:02:32 -07:00
Ben Letham
580d4e4ea9 Documentation update for not failing with constant extra regressor 2018-06-01 14:57:07 -07:00
Ben Letham
af2824fbd0 Update site with documentation updates 2018-05-30 22:43:52 -07:00
bl
f5b4249180 Remove all semicolons from documentation; mark hidden outputs 2018-05-30 18:47:16 -07:00
bl
661ceedfa2 Example with MCMC to show undetermined seasonality 2018-05-30 16:25:23 -07:00
bl
e21a05f4f9 Remove log transforms in the documentation by log transforming the CSVs, to avoid people thinking they have to log transform their data in order to use Prophet. 2018-05-30 15:34:41 -07:00