Commit graph

108 commits

Author SHA1 Message Date
Hubert Błaszczyk
691a4640fd
Enable creation of custom performance metrics (#2599) 2024-10-19 01:29:18 +11:00
Cuong Duong
c00f6a2d72 minmax not absmax in docs 2023-10-18 18:33:05 +11:00
Cuong Duong
b16d84979f cleanup 2023-10-18 08:15:57 +11:00
Cuong Duong
ff673f9d5c fix heading 2023-10-18 07:40:59 +11:00
Cuong Duong
5f51cbc6d5 final 1.1.5 docs updates 2023-10-18 01:53:20 +11:00
Cuong Duong
795718a912 clear plotly outputs 2023-10-14 23:41:15 +11:00
Cuong Duong
4c82cb0c87 update docs 2023-10-14 23:22:04 +11:00
Cuong Duong
8b3d09caf7
Sanitize warm start parameters (#2342) 2023-01-15 00:05:40 +11:00
Cuong Duong
eb71d0117b
Properly allow warm starts (#2335) 2023-01-12 03:11:15 +11:00
Cuong Duong
271268a276
Update README badges and site nav (#2261) 2022-09-06 04:03:18 +10:00
Cuong Duong
062e9a1d1c
Add example dataset affected by COVID and guide for docs (#2260) 2022-09-06 03:29:33 +10:00
Cuong Duong
4a53023bec
Have a single source for __version__ (#2258) 2022-09-05 06:15:28 +10:00
Cuong Duong
f52fddfcf1
Minor documentation changes (#2207) 2022-06-25 20:31:18 +10:00
tomsutch
84132a29eb
Only encode to JSON once when serializing a Python model (#2178) 2022-05-25 21:39:10 +10:00
Brian Ward
df411c9192
Remove pystan, leave backend abstraction for now (#2148) 2022-05-05 17:37:17 +10:00
Cuong Duong
4af7a45480
Rename master to main (#2090) 2021-12-25 21:12:46 +11:00
Ben Letham
e11135e4a4 Add to additional topics docs 2021-04-15 14:58:19 -07:00
Ben Letham
360d294dbc
Refresh online docs, change package name in docs (#1852) 2021-03-26 00:03:05 -04:00
Ben Letham
6d81543eb2
Pakage rename (#1844)
* Rename package from fbprophet to prophet, and add shim

* Untrack files that should have been ignored

* Update github actions build commands
2021-03-21 14:13:50 -07:00
Ben Letham
47ce88f255 Add stepwise trend as example of custom trend to documentation 2021-03-03 16:10:44 -08:00
Cuong Duong
2d56e71fed
Add regressor_coefficients function for R (#1803)
* function code

* add tests for regressor coefficients utility

* add documentation for regressor_coefficients util function

* generate Rd docs

* add regressor_coefficients to R namespace

* minor formatting nit

* fix bugs
2021-03-02 08:30:00 -08:00
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