mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-20 09:03:39 +00:00
Bump version for release (#2507)
This commit is contained in:
parent
f131aa6e67
commit
211d2ebd4d
5 changed files with 27336 additions and 19471 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
Package: prophet
|
Package: prophet
|
||||||
Title: Automatic Forecasting Procedure
|
Title: Automatic Forecasting Procedure
|
||||||
Version: 1.1.4
|
Version: 1.1.5
|
||||||
Date: 2023-05-30
|
Date: 2023-10-10
|
||||||
Authors@R: c(
|
Authors@R: c(
|
||||||
person("Sean", "Taylor", email = "sjtz@pm.me", role = c("cre", "aut")),
|
person("Sean", "Taylor", email = "sjtz@pm.me", role = c("cre", "aut")),
|
||||||
person("Ben", "Letham", email = "bletham@fb.com", role = "aut")
|
person("Ben", "Letham", email = "bletham@fb.com", role = "aut")
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
25
README.md
25
README.md
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
# Prophet: Automatic Forecasting Procedure
|
# Prophet: Automatic Forecasting Procedure
|
||||||
|
|
||||||

|

|
||||||
|
|
@ -126,6 +127,30 @@ Using `cmdstanpy` with Windows requires a Unix-compatible C compiler such as min
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### Version 1.1.5 (2023.10.10)
|
||||||
|
|
||||||
|
#### Python
|
||||||
|
|
||||||
|
- Upgraded cmdstan version to 2.33.1, enabling Apple M2 support.
|
||||||
|
- Added pre-built wheels for macOS arm64 architecture (M1, M2 chips)
|
||||||
|
- Added argument `scaling` to the `Prophet()` instantiation. Allows `minmax` scaling on `y` instead of
|
||||||
|
`absmax` scaling (dividing by the maximum value). `scaling='absmax'` by default, preserving the
|
||||||
|
behaviour of previous versions.
|
||||||
|
- Added argument `holidays_mode` to the `Prophet()` instantiation. Allows holidays regressors to have
|
||||||
|
a different mode than seasonality regressors. `holidays_mode` takes the same value as `seasonality_mode`
|
||||||
|
if not specified, preserving the behaviour of previous versions.
|
||||||
|
- Added two methods to the `Prophet` object: `preprocess()` and `calculate_initial_params()`. These
|
||||||
|
do not need to be called and will not change the model fitting process. Their purpose is to provide
|
||||||
|
clarity on the pre-processing steps taken (`y` scaling, creating fourier series, regressor scaling,
|
||||||
|
setting changepoints, etc.) before the data is passed to the stan model.
|
||||||
|
- Added argument `extra_output_columns` to `cross_validation()`. The user can specify additional columns
|
||||||
|
from `predict()` to include in the final output alongside `ds` and `yhat`, for example `extra_output_columns=['trend']`.
|
||||||
|
- prophet's custom `hdays` module was deprecated last version and is now removed.
|
||||||
|
|
||||||
|
#### R
|
||||||
|
|
||||||
|
- Updated `holidays` data based on holidays version 0.34.
|
||||||
|
|
||||||
### Version 1.1.4 (2023.05.30)
|
### Version 1.1.4 (2023.05.30)
|
||||||
|
|
||||||
#### Python
|
#### Python
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
__version__ = "1.1.4"
|
__version__ = "1.1.5"
|
||||||
|
|
|
||||||
|
|
@ -132,11 +132,11 @@ def model_to_json(model):
|
||||||
|
|
||||||
def _handle_simple_attributes_backwards_compat(model_dict):
|
def _handle_simple_attributes_backwards_compat(model_dict):
|
||||||
"""Handle backwards compatibility for SIMPLE_ATTRIBUTES."""
|
"""Handle backwards compatibility for SIMPLE_ATTRIBUTES."""
|
||||||
# prophet<=1.1.4: handle scaling parameters introduced in #2470
|
# prophet<1.1.5: handle scaling parameters introduced in #2470
|
||||||
if 'scaling' not in model_dict:
|
if 'scaling' not in model_dict:
|
||||||
model_dict['scaling'] = 'absmax'
|
model_dict['scaling'] = 'absmax'
|
||||||
model_dict['y_min'] = 0.
|
model_dict['y_min'] = 0.
|
||||||
# : handle holidays_mode parameter introduced in #2477
|
# prophet<1.1.5: handle holidays_mode parameter introduced in #2477
|
||||||
if 'holidays_mode' not in model_dict:
|
if 'holidays_mode' not in model_dict:
|
||||||
model_dict['holidays_mode'] = model_dict['seasonality_mode']
|
model_dict['holidays_mode'] = model_dict['seasonality_mode']
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue