Commit graph

481 commits

Author SHA1 Message Date
Ben Letham
fdac46ad40 Fix DeprecationWarning for float64 casting 2019-05-13 15:21:54 -07:00
Ben Letham
f660264e23 Don't allow timezones in pandas datetime 2019-05-13 15:00:45 -07:00
Ben Letham
df6bef8920 Replace to_numpy() with values to maintain pd 0.23.4 support 2019-05-13 13:51:27 -07:00
Ben Letham
28cd55241f Verify that cap > floor (#807) 2019-05-13 13:11:07 -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
e9c017ba01 Default to Newton optimizer if less than 100 datapoints (#842, #870, #888) 2019-05-07 11:47:36 -07:00
Ben Letham
16b0166518 Bump dplyr requirement to 0.7.7 (#781) 2019-05-06 16:44:48 -07:00
Ben Letham
26f60c0a49 If ds column is int, convert to str before pd.to_datetime to avoid nanosecond casting (#675) 2019-05-06 16:38:13 -07:00
Ben Letham
4e5e223e4f Add plotly plot to quickstart example 2019-05-06 16:15:23 -07:00
Olof Höjvall
ee14933b3f Changed returned object of plot_plotly, addressing #937 (#954) 2019-05-06 13:55:25 -07:00
Ben Letham
ec7689f03e R fallback to Newton if non-zero return code from optimization, to match existing Py behavior (#654) 2019-05-06 09:49:29 -07:00
Ben Letham
7297d98764 Use OrderedDict for seasonalities (#643) 2019-05-03 10:44:23 -07:00
Ben Letham
c8f2e8f847 Warn in cross validation if initial period is less than seasonality (#557), and fix bug that can produce error if period > initial 2019-05-03 08:40:20 -07:00
Ben Letham
35d470cbff Meaningful error message if predict is called before fit (for #462) 2019-05-02 14:53:57 -07:00
Jerry Prawiharjo
c11e668c0d Add logger.warning when falling back to Newton method (#950)
This adds logger.warning when we fall back to Newton method.
2019-05-02 14:34:24 -07:00
Ray Bell
f9adb9623e WIP: remove python Series.nonzero warning (#931)
* add to_numpy()

* remove .values
2019-05-02 11:51:35 -07:00
Ray Bell
d21b0cf4fd DOC: move anaconda section to after pypi section (#924) 2019-04-17 17:15:00 -07:00
andrealouw
0f863bf94b Update requirements.txt (#917)
pandas>=0.23.4 is required to not encounter the following error when passing a holidays argument, since earlier in earlier version pandas the concat does not have a sort argument.

File "/usr/local/lib/python3.6/dist-packages/fbprophet/forecaster.py", line 454, in construct_holiday_dataframe
all_holidays = pd.concat((all_holidays, holidays_to_add), sort=False)
TypeError: concat() got an unexpected keyword argument 'sort'
2019-04-17 17:13:42 -07:00
Ben Letham
8456cad5c0 set to pystan 2.18.1 for travis 2019-04-17 17:02:53 -07:00
Olof Höjvall
c756d20100 Added a interactive Plotly plot of the forecast (#915) 2019-04-17 16:47:16 -07:00
Sean J. Taylor
a31a93480a
Merge pull request #896 from raybellwaves/patch-1
DOC: Add link to stack overflow
2019-03-28 10:15:41 -07:00
Sean J. Taylor
a69c0cc012
Merge pull request #904 from facebook/automated_fixup_code_of_conduct_file_exists
Adding Code of Conduct file
2019-03-28 10:15:11 -07:00
Facebook Community Bot
05311a8249 OSS Automated Fix: Addition of Code of Conduct 2019-03-27 15:26:13 -07:00
Ben Letham
25a562d1c0 Add conditional seasonality to seasonality documentation notebook 2019-03-22 11:53:29 -07:00
Ben Letham
921b604022 Update R documentation 2019-03-22 11:08:09 -07:00
Ben Letham
c5db6f8619 Update R tests with condition.name 2019-03-22 10:52:53 -07:00
Olof Höjvall
0092638abe Added conditional seasonality for R (#894) 2019-03-22 10:43:52 -07:00
Ray Bell
08531a923e
Update README.md 2019-03-20 22:41:50 -04:00
Olof Höjvall
8eea5a1ca3 Feature Proposal with Python Draft: Masked seasonality (#873)
* Added feature to mask seasonality

* Added conditional seasonality tests and fixed plotting it

* Fixed diagnostics for conditional seasonality and cleaned up code
2019-03-18 10:04:35 -07:00
MT
eec2f46ac5 if optimization fails fallback to Newton even if algorithm is specified (#890) 2019-03-18 09:41:45 -07:00
Ben Letham
730e59e2f7 Documentation fixes from PR #777 2019-02-20 17:17:47 -08:00
Gabriel Linder
bd0979244d Fix FutureWarning from Pandas 0.24.0. (#830)
* Fix FutureWarning from Pandas 0.24.0.

Signed-off-by: Gabriel Linder <linder.gabriel@gmail.com>

* Stay compatible with older versions of pandas.

Signed-off-by: Gabriel Linder <linder.gabriel@gmail.com>
2019-02-15 10:28:51 -08:00
Sean J. Taylor
ef670eaf6c Bump version number for new release 2019-01-15 17:24:43 -08:00
Ben Letham
de5b7494de Remove pd.Series from np.matmul 2019-01-15 12:47:54 -08:00
Ben Letham
324decf21d Fix broken link in quickstart 2019-01-08 17:28:54 -08:00
Ben Letham
43813c842d Fix CI link 2019-01-08 14:46:22 -08:00
Sean J. Taylor
e636732d04 Merge 2019-01-08 11:02:16 -08:00
Sean J. Taylor
34af9efb89 Post1 release + remove pyproject.toml file 2019-01-08 11:00:54 -08:00
Ben Letham
88912a6da1 Include setuptools and wheel as build dependencies 2019-01-08 09:52:30 -08:00
Gordon Inggs
aebe8da78d Rather using Monday const from built-in calendar.py (#791)
Latest version of holidays (0.9.9) changed the name of its MONDAY const
to MON. Rather using the MONDAY const from the same library as the
object that it is being used with.
2019-01-07 16:22:31 -08:00
Sean J. Taylor
4345a90427 Merge branch 'master' of github.com:facebook/prophet 2018-12-21 09:31:10 -08:00
Sean J. Taylor
e0ce0d02b4 Update docs to reflect CRAN status 2018-12-21 09:24:05 -08:00
Ben Letham
6886371961 Add pyproject.toml back 2018-12-20 20:30:43 -08:00
Ben Letham
3e31d5d1c7 Fix absolute paths in setup.py 2018-12-20 18:15:07 -08:00
Sean J. Taylor
a8abc0327d Merge branch 'master' of github.com:facebook/prophet 2018-12-20 17:04:17 -08:00
Sean J. Taylor
703c0731f6 Supress warning messages while building model 2018-12-20 17:04:03 -08:00
Ben Letham
1f24d059c9 Setup update 2018-12-20 16:11:53 -08:00
Ben Letham
9557e57b71 Build fix 2018-12-20 15:46:55 -08:00
Ben Letham
bf79aa539e Fix travis link 2018-12-20 15:39:11 -08:00
Ben Letham
9676019825 Update manifest and include package data 2018-12-20 15:36:02 -08:00