Description
GluonTS is an open-source Python library designed for probabilistic time series modeling, with a strong emphasis on deep learning-based approaches. It is built upon popular deep learning frameworks, PyTorch and MXNet, offering flexibility and power to researchers and practitioners in the field of time series analysis.
Read More
The primary focus of GluonTS is to enable probabilistic forecasting, meaning it generates predictions not as single point estimates, but as probability distributions. This allows users to understand the uncertainty associated with their forecasts, providing valuable insights through prediction intervals, such as 50% and 90% ranges. This capability is crucial for applications where understanding risk and confidence is paramount.
The library provides a suite of tools for data handling, model training, and prediction. It supports various deep learning architectures commonly used in time series forecasting. An example provided demonstrates training a DeepAR model on the air passengers dataset, showcasing how to split data, train the model, and visualize probabilistic forecasts. The installation is straightforward via pip, with options to include support for either PyTorch or MXNet models.
GluonTS is actively developed, with clear guidelines for contributions. The project encourages users to cite relevant papers in their scientific publications. The documentation is comprehensive, offering stable and development versions, along with numerous tutorials and workshop materials covering topics from basic usage to advanced deep learning techniques for forecasting.
Recently, the team behind GluonTS released Chronos, a suite of pre-trained models for zero-shot time series forecasting. Chronos can generate accurate probabilistic predictions for new time series without requiring specific training data for those series, representing a significant advancement in the field.
- CategoryAI Models & LLMs
- Pricing ModelOpen source
- DeploymentCloud, Self-hosted
- PlatformsWeb
GluonTS's Core Features
Probabilistic time series modeling
Deep learning-based models
Support for PyTorch and MXNet
Zero-shot time series forecasting with Chronos
Generation of probability distributions for forecasts
Prediction intervals (50% and 90%)
Data handling and splitting utilities
Model training and prediction capabilities
Python package for time series analysis
Open-source library
Getting Started with GluonTS
Install GluonTS: Use pip to install with PyTorch or MXNet support.
Load Data: Prepare your time series data, for example, using Pandas.
Split Data: Divide your dataset into training and testing sets.
Define Estimator: Choose and configure a deep learning model estimator.
Train Model: Train the selected estimator on your training data.
Make Predictions: Use the trained model to generate probabilistic forecasts.
Visualize Results: Plot forecasts, including true values and prediction intervals.
GluonTS's Use Cases
- Probabilistic Forecasting
- Time Series Modeling
- Zero-Shot Forecasting
- Demand Prediction
- Financial Forecasting
- Resource Allocation










