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.2.tar.gz (41.4 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.2-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tabpfn_time_series-0.1.2.tar.gz
  • Upload date:
  • Size: 41.4 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.2.tar.gz
Algorithm Hash digest
SHA256 c2dbe45a761fc75d526c07ebc1931ff0c4114fd670387e995bce785cbc0e06da
MD5 f7586d7d93304705df1214b844ce71c8
BLAKE2b-256 619f2f2ace2bc2105548d8a999cd85c30b11ea736a14e5e6af5bd3728882b0ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tabpfn_time_series-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dd04c7d09c3db606b2d86b99d6b6f3e6aa7aeecc477949d606c366a2bfb9bb4e
MD5 5325cfa7a490c4ac6961447f0f790764
BLAKE2b-256 5d61f876568d7685be0b50354ac26af9d7a51af29dcf3c5416ed63aebb280034

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