Commit graph

481 commits

Author SHA1 Message Date
Ben Letham
0e76b79dde List some packages required for Linux install 2017-04-13 23:46:47 -07:00
Ben Letham
5971a2369b Loop debug (#168)
* Load Stan models on package load and keep in environment

* Load models on package import
2017-04-13 23:23:44 -07:00
Ben Letham
df4b6158eb Allow shifting the start date of the yearly seasonality plot 2017-04-13 02:08:34 -07:00
Ben Letham
cacfdc635e Allow shifting the start date of the weekly seasonality plot 2017-04-13 01:51:17 -07:00
Ben Letham
d937f47612 Enable seasonalities automatically depending on history length / frequency 2017-04-13 01:25:03 -07:00
Sean J. Taylor
c164367c08 [bugfix] Run GC after model fitting to prevent memory errors. 2017-04-12 15:21:31 -07:00
Ben Letham
6d387a4640 Set version requirement for tidyr, see #157 2017-04-11 10:39:12 -07:00
Ben Letham
8155143af0 Allow not showing capacity on plots 2017-04-10 22:48:43 -07:00
Ben Letham
208399678c Make component plots work if forecast range is less than seasonality period 2017-04-10 18:20:06 -07:00
Ben Letham
50ddd5bfd3 Docstring fix 2017-04-07 19:11:37 -07:00
Ben Letham
b87daf56e5 Merge branch 'master' of https://github.com/facebookincubator/prophet 2017-04-07 19:09:31 -07:00
Ben Letham
47ae61f44e Remove hanging spaces 2017-04-07 19:09:24 -07:00
cam122286
6415dffd0c Update prophet.R (#154)
Minor grammatical fix
2017-04-07 19:06:13 -07:00
Ben Letham
1a7112268e style fixes 2017-04-06 11:47:03 -07:00
Ben Letham
34c0f80684 Only allow a Prophet object to be fit once 2017-04-05 10:44:21 -07:00
Ben Letham
961716ba55 Add link to data CSV in Quickstart 2017-04-04 16:44:31 -07:00
Ben Letham
68f88e2b73 Raise exception if date parsing fails 2017-04-04 16:28:34 -07:00
Ben Letham
459e0fed6c Document the parameters stored during fitting. 2017-04-03 18:24:54 -07:00
Ben Letham
1645e56c48 Note in documentation that MCMC is slow in Python in Windows (#122) 2017-04-03 17:47:45 -07:00
Ben Letham
b999dd4aa4 Add docstring to Python methods, and minor fixes to R documentation. 2017-03-23 17:27:44 +02:00
Ben Letham
5677d8c7ce Store dates from history with y NaN for make_future_dataframe 2017-03-23 15:47:29 +02:00
Rolando (Max) Espinoza
1a57d19148 Allow to build models in-place. (#100)
This fixes the commands ``python setup.py develop`` and ``pip install
-e``.
2017-03-16 17:49:02 +02:00
Ben Letham
1a6b736cca No longer use %-d for strftime since it is not supported in Windows 2017-03-16 16:25:07 +02:00
Ben Letham
2c8419e673 Fix missing m/d on trend component plot. Previously we used MaxNLocator to limit the number of tick marks on the trend and holiday component plots. This was putting the ticks at various points throughout the year, however the tick label showed only the year, which one would incorrectly assume to be Jan 1. This commit removes MaxNLocator and allows matplotlib to set xticks as it pleases, and updates the effected documentation. 2017-03-16 15:43:16 +02:00
Ben Letham
218455c06b Update pandas requirement for dt.weekday_name 2017-03-14 09:43:31 +02:00
Ben Letham
864d06ecee Documentation update for #11 2017-03-12 17:58:03 +02:00
David J. Harris
3548546b65 invisibly return component plots (#11)
This will make it easier for users to change the theme or other aspects of the plots, and shouldn't affect any existing behavior because the returned object is invisible.
2017-03-12 17:51:08 +02:00
Ben Letham
f89faf2c6a Check for valid holiday lower/upper windows 2017-03-12 16:01:02 +02:00
Ben Letham
1d37f7f6fe make_future_dataframe return correct number of periods 2017-03-12 14:29:20 +02:00
Rolando (Max) Espinoza
e33e7c4b37 Make stan code windows-compatible. (#96)
The vector/matrix operations fail to compile in windows due to eigen
incompatibility with windows compiler. Here we opt to use a non-
vectorized model for windows platform.
2017-03-09 18:47:59 +02:00
Sean J. Taylor
c22294e1c4 Merge pull request #98 from rolando-contrib/fix-pickle-protocol
Fix pickling protocol to use highest available.
2017-03-08 12:37:23 -08:00
Rolando Espinoza
d446bb1c19 Fix pickling protocol to use highest available.
This fixes unpickling errors in Python 2.7 as it defaults to the text
protocol.
2017-03-08 16:34:08 -03:00
Ben Letham
fcbd957bcc Refactor R component plotting to match #84 2017-03-08 17:38:56 +02:00
Ben Letham
ecc0682970 Make prophet the first class (#68, #16) 2017-03-06 13:32:28 +02:00
Ben Letham
5e8e3ee958 Describe memory req for VM 2017-03-05 17:19:48 +02:00
Ben Letham
20aca85bbb Require stan 2.14 or later 2017-03-05 17:09:18 +02:00
Ben Letham
2d2e48b460 Allow plotting components separately 2017-03-05 16:56:25 +02:00
Sean J. Taylor
a3a35f662f Merge pull request #72 from abuccts/issue66-patch
fix issue 66
2017-03-03 15:58:07 -08:00
Sean J. Taylor
f287a57cca Merge pull request #84 from lemonlaug/better_mpl
Refactoring mpl code to address #62, #63
2017-03-03 15:57:39 -08:00
Isaac Laughlin
597fce143f Adding docstrings to new plotting methods. 2017-03-03 14:21:10 -08:00
Isaac Laughlin
13fc5c8ae4 Changing my mind about forecast_color as a static class attr. 2017-03-03 11:49:10 -08:00
Isaac Laughlin
9c82c8ed7a pep8 tweaks. 2017-03-03 11:42:44 -08:00
Isaac Laughlin
e081db52e1 Refactoring mpl code to address #62, #63 2017-03-03 11:29:12 -08:00
abuccts
806eaa1aa2 update pandas minimum version 2017-03-02 22:58:37 +08:00
Ben Letham
4b7a418121 Allow _ in holiday name, fix #50 2017-03-02 16:36:00 +02:00
Ben Letham
5cec062fce Fix weekly seasonality plot in non-en locales 2017-03-01 18:38:58 +02:00
Ben Letham
b7a201086d handle repeated days for a holiday in R 2017-02-28 18:06:21 +02:00
Oliver Keyes
025c0fec0e Syntax cleanup (#30)
`=` or `<-`, not both; explicit or implicit returns..so on
2017-02-28 12:07:59 +02:00
Ben Letham
443d475468 Allow changepoints on dates that aren't in history, and allow for repeated observations on days. Previously we worked with changepoints via their index in the history. Now we work with them using just their value in scaled time. 2017-02-28 10:08:37 +02:00
Sean J. Taylor
158f49db59 Merge pull request #39 from rschoenbeck/issue-31-34
issue-31-34 patch holiday forecast comp
2017-02-27 17:08:35 -08:00