Zero-shot time series forecasting with TabPFNv2
Project description
TabPFN-TS
Zero-Shot Time Series Forecasting with TabPFNv2
📌 News
- 27-05-2025: 📝 New paper version and v1.0.0 release! Strong GIFT-EVAL results, new AutoSeasonalFeatures, improved CalendarFeatures.
- 27-01-2025: 🚀 Ranked 1st on GIFT-EVAL benchmark[1]!
- 10-10-2024: 🚀 TabPFN-TS paper accepted to NeurIPS 2024 TRL and TSALM workshops!
[1] Last checked on: 10/03/2025
✨ Introduction
We demonstrate that the tabular foundation model TabPFNv2, combined with lightweight feature engineering, enables zero-shot time series forecasting for both point and probabilistic tasks. On the GIFT-EVAL benchmark, our method achieves performance on par with top-tier models across both evaluation metrics.
📖 How does it work?
Our work proposes to frame univariate time series forecasting as a tabular regression problem.
Concretely, we:
- Transform a time series into a table
- Extract features and add them to the table
- Perform regression on the table using TabPFNv2
- Use regression results as time series forecasting outputs
For more details, please refer to our paper.
👉 Why give us a try?
- Zero-shot forecasting: this method is extremely fast and requires no training, making it highly accessible for experimenting with your own problems.
- Point and probabilistic forecasting: it provides accurate point forecasts as well as probabilistic forecasts.
- Support for exogenous variables: if you have exogenous variables, this method can seemlessly incorporate them into the forecasting model.
On top of that, thanks to tabpfn-client from Prior Labs, you won't even need your own GPU to run fast inference with TabPFNv2. 😉 We have included tabpfn-client as the default engine in our implementation.
⚙️ Installation
You can install the package via pip:
pip install tabpfn-time-series
For Developers
To install the package in editable mode with all development dependencies, run the following command in your terminal:
pip install -e ".[dev]"
# or with uv
uv pip install -e ".[dev]"
How to use it?
The demo should explain it all. 😉
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tabpfn_time_series-1.0.1.tar.gz.
File metadata
- Download URL: tabpfn_time_series-1.0.1.tar.gz
- Upload date:
- Size: 540.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ee74442ca9defb92dc22eb786752c2028cd71cbb47d4980fc985fb5d50f30be
|
|
| MD5 |
2fbc3c76e3e51b22e589914daac36018
|
|
| BLAKE2b-256 |
9444d2f4c6d77790e58eb738ebe9015a57424596ee9a0c43bea9d4a5842f8238
|
File details
Details for the file tabpfn_time_series-1.0.1-py3-none-any.whl.
File metadata
- Download URL: tabpfn_time_series-1.0.1-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0e0c2e208831e9c084f16cfa2ee4fa35b8d17593509dd203f5645403367ca3d
|
|
| MD5 |
47fec29fd0922c8f6218b3df0b979311
|
|
| BLAKE2b-256 |
5e2bc7133a27a11d279be24d359cb6ee9fc60b4abd5614b6dd2849f744f4a4eb
|