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.1.tar.gz (242.1 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-0.1.1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tabpfn_time_series-0.1.1.tar.gz
  • Upload date:
  • Size: 242.1 kB
  • 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.1.tar.gz
Algorithm Hash digest
SHA256 c6d4981806f2b8dc16bcdc5d5a4c14347a6b13edab2e3a168ad18fb3b8f342a5
MD5 4805bc10b5f036bcc6f859f332e5d76a
BLAKE2b-256 6064386d4586ecc3396245d42181cb9869f7b7d0ea7900d01f72365b80c8f774

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tabpfn_time_series-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3db92d0bc3ca2ddfae9e176638925f8e8be0c0259f2fd36120c744e67b581f7
MD5 bced1e20c64e86b7e53b10c4c64de848
BLAKE2b-256 0d6fb801f6a8da9531b702ba49b19661c85cb1add94140ba8a9f640250eb094c

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