Prophet is an open source time series forecasting library developed by Facebook’s Core Data Science team. It provides a simple and efficient way to make predictions for various forecasting problems, including forecasting trends and seasonal patterns in time series data. It uses a Bayesian method based on a decomposable time series model, and is designed to be used in business and finance applications, among others.
Set a virtual environment and then install
python3 -m venv .venv source .venv/bin/activate
python3 -m pip install prophet python3 -m pip install matplotlib numpy pandas plotly scikit-learn
prophet to forecast share prices
First, install all the usual packages
python3 -m pip install numpy pandas matplotlib
brew install email@example.com python3.11 -m pip install cmdstanpy python3.11 -m pip install prophet # this should work ? if it dont, good luck lmao # RuntimeError: Error during optimization! Command '/opt/homebrew/lib/python3.11/site-packages/prophet/stan_model/prophet_model.bin # dyld: Library not loaded: '@rpath/libtbb.dylib' install_name_tool -add_rpath .venv/lib/python3.11/site-packages/prophet/stan_model/cmdstan-2.26.1/stan/lib/stan_math/lib/tbb .venv/lib/python3.11/site-packages/prophet/stan_model/prophet_model.bin