Skip to main content

CI status Python Version Dependencies Status

Code style: black Security: bandit Pre-commit Semantic Versions License

Deploy a Streamlit app to train, evaluate and optimize a Prophet forecasting model visually

https://user-images.githubusercontent.com/56996548/126762714-f2d3f3a1-7098-4a86-8c60-0a69d0f913a7.mp4

💻 Requirements

Python version

  • Main supported version : 3.7
  • Other supported versions : 3.8 & 3.9

Please make sure you have one of these versions installed to be able to run the app on your machine.

Operating System

Windows users have to install WSL2 to download the package. This is due to an incompatibility between Windows and Prophet's main dependency (pystan). Other operating systems should work fine.

⚙️ Installation

Create a virtual environment (optional)

We strongly advise to create and activate a new virtual environment, to avoid any dependency issue.

For example with conda:

pip install conda; conda create -n streamlit_prophet python=3.7; conda activate streamlit_prophet

Or with virtualenv:

pip install virtualenv; python3.7 -m virtualenv streamlit_prophet --python=python3.7; source streamlit_prophet/bin/activate

Install package

Install the package from PyPi (it should take a few minutes):

pip install -U streamlit_prophet

Or from the main branch of this repository:

pip install git+https://github.com/artefactory-global/streamlit_prophet.git@main

📈 Usage

Once installed, run the following command from CLI to open the app in your default web browser:

streamlit_prophet deploy dashboard

Now you can train, evaluate and optimize forecasting models in a few clicks. All you have to do is to upload a time series dataset. This dataset should be a csv file that contains a date column, a target column and optionally some features, like on the example below:

Then, follow the guidelines in the sidebar to:

  • Prepare data: Filter, aggregate, resample and/or clean your dataset.
  • Choose model parameters: Default parameters are available but you can tune them. Look at the tooltips to understand how each parameter is impacting forecasts.
  • Select evaluation method: Define the evaluation process, the metrics and the granularity to assess your model performance.
  • Make a forecast: Make a forecast on future dates that are not included in your dataset, with the model previously trained.

Once you are satisfied, click on "save experiment" to download all plots and data locally.

🛠️ How to contribute ?

All contributions, ideas and bug reports are welcome! We encourage you to open an issue for any change you would like to make on this project.

For more information, see CONTRIBUTING instructions. If you wish to containerize the app, see DOCKER instructions.

Metadata

Release files for streamlit-prophet 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for streamlit-prophet 1.0.0
File Size Uploaded Provenance Actions
streamlit_prophet-1.0.0.tar.gz 166.6 kB Without provenance Details for streamlit_prophet-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-prophet 1.0.0
File Interpreter ABI Platform Actions
streamlit_prophet-1.0.0-py3-none-any.whl Python 3 none any Details for streamlit_prophet-1.0.0-py3-none-any.whl

Total release size: 343.1 kB

Release files / streamlit_prophet-1.0.0.tar.gz

Download URL streamlit_prophet-1.0.0.tar.gz
Size 166.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a22136e3d7f3ff4fd9c2a2d38d072004c817143191c861aa6a947a1645b20301
BLAKE2b-256 checksum
How to use checksums
019ae2fba8ba60336664e4e15a71701514d38209cc68c06affa39a6a803d500a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.7.10 Darwin/19.3.0

Release files / streamlit_prophet-1.0.0-py3-none-any.whl

Download URL streamlit_prophet-1.0.0-py3-none-any.whl
Size 176.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8438a0634c83b047d8f27b9d4493e7ca291df8d03e39d8f2a028eb83550d11c
BLAKE2b-256 checksum
How to use checksums
e16608695e568e8457128681abd96b6ef3830f83354ae282d53195b8961cc0bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.7.10 Darwin/19.3.0

Security for streamlit-prophet 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page