Skip to main content

Zero-shot time series forecasting with TabPFN

Project description

Time Series Forecasting with TabPFN

colab Discord arXiv

We demonstrate that the tabular foundation model TabPFN, when paired with minimal featurization, can perform zero-shot time series forecasting. Its performance on point forecasting matches or even slightly outperforms state-of-the-art methods.

📖 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 from timestamp and add them to the table
  3. Perform regression on the table using TabPFN
  4. Use regression results as time series forecasting outputs

For more details, please refer to our paper and our poster (presented at NeurIPS 2024 TRL and TSALM workshops).

👉 Why gives 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 TabPFN. 😉 We have included tabpfn-client as the default engine in our implementation.

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-0.1.0.tar.gz (2.2 MB 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-0.1.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tabpfn_time_series-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for tabpfn_time_series-0.1.0.tar.gz
Algorithm Hash digest
SHA256 595963feaa73703ff45728916f13a7227c0cb69e3a324ca57344dabe0f9ba6ce
MD5 fc439451c0ddd96f0755f757507fba7a
BLAKE2b-256 b200adfab6d9ba4b6e3bc66467cdd7fce2ec67150299aaf7ea539058b0aed520

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tabpfn_time_series-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be9086f2518897c925c0daf3cd6406613f1b516dc92cb083d6d526b2229b73d6
MD5 e4e243aad5a79449cb8b5f8a587b908b
BLAKE2b-256 2a6345f6558aab69ed726c64aef596fbdcb95f1246e3b68313a37bf50f131464

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