Skip to main content

Zero-shot time series forecasting with TabPFNv2

Project description

TabPFN-TS

Zero-Shot Time Series Forecasting with TabPFNv2

PyPI version colab Discord arXiv

📌 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.

How it works

Concretely, we:

  1. Transform a time series into a table
  2. Extract features and add them to the table
  3. Perform regression on the table using TabPFNv2
  4. 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?

colab

The demo should explain it all. 😉

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tabpfn_time_series-1.0.3.tar.gz (468.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tabpfn_time_series-1.0.3-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file tabpfn_time_series-1.0.3.tar.gz.

File metadata

  • Download URL: tabpfn_time_series-1.0.3.tar.gz
  • Upload date:
  • Size: 468.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tabpfn_time_series-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f0922f73dc4760cc4919b76381443f1b7287f694bb832c5675b5f4f4929fdb6b
MD5 53e4ba7e76c778932ce8cc403b9d757f
BLAKE2b-256 338e82cea00d409a298144b569e4ec4eeb057f89d79c9b2a17d6c5025a7570ac

See more details on using hashes here.

File details

Details for the file tabpfn_time_series-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for tabpfn_time_series-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0f2436e1a3a87c91315852ab7f8151dcf15c3c2bee4d86e5ee569c0f7ee0f59a
MD5 f7c270ff8216602ddc1bcb18cfedb125
BLAKE2b-256 c8bf13c7fdeeacaf7302b80755e85dcb01d8f47a9ddbac57adef263f0194820c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page