Practical overview
When it fits
Use Orbit when you need model-based time-series forecasts and inference within Python, and want to work with its listed model families and estimation methods.
Who it is for
- Python analysts forecasting dated data such as demand, sales or operational metrics.
- Developers comparing probabilistic time-series models or incorporating forecasts into Python analysis workflows.
Documented uses
- Fit a supported Bayesian time-series model to historical observations.
- Generate forecasts and compare them with held-out actual data.
- Compare model and estimation approaches for a forecasting task.
Requirements & limits
The project is open-source and its repository documents installation through PyPI with pip, conda-forge with conda, or from source.
- Orbit is a Python library rather than a hosted forecasting application.
- The documented model choices are ETS, LGT, DLT and KTR; choose among these based on the time-series task.
- The README identifies cmdstanpy as a core dependency for Bayesian sampling.
- The repository warns that new experimental code may have APIs subject to change and points stable-release users to the master branch.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Fit a DLT model and create predictions with the included claims dataset
Use Orbit's Damped Local Trend model to fit claims data and produce predictions for a held-out period.
Before you start
- Orbit installed.
- The example uses Orbit's
load_iclaimsdataset utility and theDLTmodel.
Steps
Load the claims dataset with
load_iclaims()and split off the final 52 rows as test data; use the earlier rows for training.Create a
DLTmodel with response columnclaims, date columnweek, regressorstrend.unemploy,trend.filling, andtrend.job, and seasonality 52.Fit the model on the training dataframe with
dlt.fit(df=train_df).Generate predictions for the test dataframe with
dlt.predict(df=test_df)and plot them withplot_predicted_data, supplying the training, predicted, and test dataframes and the model's date and response columns.
Expected outcome
A predicted dataframe for the held-out period and a plot comparing predictions with training and test actuals.
Guide limitations
- The demonstrated example is a DLT claims-data workflow with a 52-row holdout; it does not establish suitability for other datasets or model configurations.
- The project notes that cmdstanpy is required as a core dependency for Bayesian sampling and that experimental APIs may change.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 17 October 2026
- Original website title
- uber/orbit · Official homepage title · retained in its source language

