"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "README.md" between
prophet-1.1.tar.gz and prophet-1.1.1.tar.gz

About: Prophet is a tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.

README.md  (prophet-1.1):README.md  (prophet-1.1.1)
# Prophet: Automatic Forecasting Procedure # Prophet: Automatic Forecasting Procedure
![Build](https://github.com/facebook/prophet/workflows/Build/badge.svg) ![Build](https://github.com/facebook/prophet/workflows/Build/badge.svg)
[![Pypi_Version](https://img.shields.io/pypi/v/prophet.svg)](https://pypi.python
.org/pypi/prophet) [![PyPI Version](https://img.shields.io/pypi/v/prophet.svg)](https://pypi.python
.org/pypi/prophet)
[![PyPI Downloads Monthly](https://pepy.tech/badge/prophet/month)](https://pepy.
tech/project/prophet)
[![PyPI Downloads All](https://pepy.tech/badge/prophet)](https://pepy.tech/proje
ct/prophet)
[![CRAN Version](https://www.r-pkg.org/badges/version/prophet)](https://CRAN.R-p
roject.org/package=prophet)
[![CRAN Downloads Monthly](https://cranlogs.r-pkg.org/badges/prophet?color=brigh
tgreen)](https://cran.r-project.org/package=prophet)
[![CRAN Downloads All](https://cranlogs.r-pkg.org/badges/grand-total/prophet?col
or=brightgreen)](https://cranlogs.r-pkg.org/badges/grand-total/prophet)
[![Conda_Version](https://anaconda.org/conda-forge/prophet/badges/version.svg)]( https://anaconda.org/conda-forge/prophet/) [![Conda_Version](https://anaconda.org/conda-forge/prophet/badges/version.svg)]( https://anaconda.org/conda-forge/prophet/)
[![CRAN status](https://www.r-pkg.org/badges/version/prophet)](https://CRAN.R-pr oject.org/package=prophet)
Prophet is a procedure for forecasting time series data based on an additive mod el where non-linear trends are fit with yearly, weekly, and daily seasonality, p lus holiday effects. It works best with time series that have strong seasonal ef fects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. Prophet is a procedure for forecasting time series data based on an additive mod el where non-linear trends are fit with yearly, weekly, and daily seasonality, p lus holiday effects. It works best with time series that have strong seasonal ef fects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well.
Prophet is [open source software](https://code.facebook.com/projects/) released by Facebook's [Core Data Science team](https://research.fb.com/category/data-sci ence/). It is available for download on [CRAN](https://cran.r-project.org/packag e=prophet) and [PyPI](https://pypi.python.org/pypi/prophet/). Prophet is [open source software](https://code.facebook.com/projects/) released by Facebook's [Core Data Science team](https://research.fb.com/category/data-sci ence/). It is available for download on [CRAN](https://cran.r-project.org/packag e=prophet) and [PyPI](https://pypi.python.org/pypi/prophet/).
## Important links ## Important links
- Homepage: https://facebook.github.io/prophet/ - Homepage: https://facebook.github.io/prophet/
- HTML documentation: https://facebook.github.io/prophet/docs/quick_start.html - HTML documentation: https://facebook.github.io/prophet/docs/quick_start.html
- Issue tracker: https://github.com/facebook/prophet/issues - Issue tracker: https://github.com/facebook/prophet/issues
skipping to change at line 61 skipping to change at line 68
``` ```
### Windows ### Windows
On Windows, R requires a compiler so you'll need to [follow the instructions](ht tps://github.com/stan-dev/rstan/wiki/RStan-Getting-Started) provided by `rstan`. The key step is installing [Rtools](http://cran.r-project.org/bin/windows/Rtool s/) before attempting to install the package. On Windows, R requires a compiler so you'll need to [follow the instructions](ht tps://github.com/stan-dev/rstan/wiki/RStan-Getting-Started) provided by `rstan`. The key step is installing [Rtools](http://cran.r-project.org/bin/windows/Rtool s/) before attempting to install the package.
If you have custom Stan compiler settings, install from source rather than the C RAN binary. If you have custom Stan compiler settings, install from source rather than the C RAN binary.
## Installation in Python - PyPI release ## Installation in Python - PyPI release
Prophet is on PyPI, so you can use `pip` to install it. From v0.6 onwards, Pytho n 2 is no longer supported. As of v1.0, the package name on PyPI is "prophet"; p rior to v1.0 it was "fbprophet". Prophet is on PyPI, so you can use `pip` to install it.
```bash ```bash
# Install pystan with pip before using pip to install prophet python -m pip install prophet
# pystan>=3.0 is currently not supported
pip install pystan==2.19.1.1
pip install prophet
``` ```
#### Experimental backend - cmdstanpy * From v0.6 onwards, Python 2 is no longer supported.
* As of v1.0, the package name on PyPI is "prophet"; prior to v1.0 it was "fbpro
You can also choose a (more experimental) alternative stan backend called `cmdst phet".
anpy`. It requires the [CmdStan](https://mc-stan.org/users/interfaces/cmdstan) c * As of v1.1, the minimum supported Python version is 3.7.
ommand line interface and you will have to specify the environment variable `STA
N_BACKEND` pointing to it, for example:
```bash
# bash
$ CMDSTAN=/tmp/cmdstan-2.22.1 STAN_BACKEND=CMDSTANPY pip install prophet
```
Note that the `CMDSTAN` variable is directly related to `cmdstanpy` module and c
an be omitted if your CmdStan binaries are in your `$PATH`.
After installation, you can [get started!](https://facebook.github.io/prophet/do cs/quick_start.html#python-api) After installation, you can [get started!](https://facebook.github.io/prophet/do cs/quick_start.html#python-api)
If you upgraded the version of PyStan installed on your system, you may need to
reinstall prophet ([see here](https://github.com/facebook/prophet/issues/324)).
### Anaconda ### Anaconda
The easiest way to install Prophet is through conda-forge: `conda install -c con Prophet can also be installed through conda-forge: `conda install -c conda-forge
da-forge prophet`. prophet`.
### Windows
The easiest way to install Prophet in Windows is in Anaconda.
### Linux
Make sure compilers (gcc, g++, build-essential) and Python development tools (py
thon-dev, python3-dev) are installed. In Red Hat systems, install the packages g
cc64 and gcc64-c++. If you are using a VM, be aware that you will need at least
4GB of memory to install prophet, and at least 2GB of memory to use prophet.
## Installation in Python - Development version ## Installation in Python - Development version
Since Pystan2 is no longer being maintained, the python package will move to dep end solely on `cmdstanpy` (benefits described [here](https://github.com/facebook /prophet/issues/2041)). This has been updated in the development version of the package (1.1), but this version hasn't yet been released to PyPI. If you would l ike to use `cmdstanpy` only for your workflow, you can clone this repo and build from source manually: To get the latest code changes as they are merged, you can clone this repo and b uild from source manually. This is **not** guaranteed to be stable.
```bash ```bash
git clone https://github.com/facebook/prophet.git git clone https://github.com/facebook/prophet.git
cd prophet/python cd prophet/python
python -m pip install -r requirements.txt python -m pip install -r requirements.txt
python setup.py develop python setup.py develop
``` ```
By default, Prophet will use a fixed version of `cmdstan` (downloading and insta lling it if necessary) to compile the model executables. If this is undesired an d you would like to use your own existing `cmdstan` installation, you can set th e environment variable `PROPHET_REPACKAGE_CMDSTAN` to `False`: By default, Prophet will use a fixed version of `cmdstan` (downloading and insta lling it if necessary) to compile the model executables. If this is undesired an d you would like to use your own existing `cmdstan` installation, you can set th e environment variable `PROPHET_REPACKAGE_CMDSTAN` to `False`:
```bash ```bash
export PROPHET_REPACKAGE_CMDSTAN=False; python setup.py develop export PROPHET_REPACKAGE_CMDSTAN=False; python setup.py develop
``` ```
### Linux
Make sure compilers (gcc, g++, build-essential) and Python development tools (py
thon-dev, python3-dev) are installed. In Red Hat systems, install the packages g
cc64 and gcc64-c++. If you are using a VM, be aware that you will need at least
4GB of memory to install prophet, and at least 2GB of memory to use prophet.
### Windows ### Windows
Using `cmdstanpy` with Windows requires a Unix-compatible C compiler such as min gw-gcc. If cmdstanpy is installed first, one can be installed via the `cmdstanpy .install_cxx_toolchain` command. Using `cmdstanpy` with Windows requires a Unix-compatible C compiler such as min gw-gcc. If cmdstanpy is installed first, one can be installed via the `cmdstanpy .install_cxx_toolchain` command.
## Changelog ## Changelog
### Version 1.1 (2022.06.25)
- Replaced `pystan2` dependency with `cmdstan` + `cmdstanpy`.
- Pre-packaged model binaries for Python package, uploaded binary distributions
to PyPI.
- Improvements in the `stan` model code, cross-validation metric calculations, h
olidays.
### Version 1.0 (2021.03.28) ### Version 1.0 (2021.03.28)
- Python package name changed from fbprophet to prophet - Python package name changed from fbprophet to prophet
- Fixed R Windows build issues to get latest version back on CRAN - Fixed R Windows build issues to get latest version back on CRAN
- Improvements in serialization, holidays, and R timezone handling - Improvements in serialization, holidays, and R timezone handling
- Plotting improvements - Plotting improvements
### Version 0.7 (2020.09.05) ### Version 0.7 (2020.09.05)
- Built-in json serialization - Built-in json serialization
 End of changes. 10 change blocks. 
39 lines changed or deleted 39 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)