OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Koopa

Koopa is a Python and PyTorch research model and codebase for forecasting non-stationary time series. Its MLP-based architecture uses Koopman predictors, and its repository includes benchmark scripts, hyperparameters and a tutorial for operator adaptation during rolling forecasts.

Independent OpenViST project profile, based on linked sources.

Koopa — Reproducing experiments on ECL, Traffic, Weather, ILI, Exchange or ETT
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Koopa when you need research code and benchmark scripts for non-stationary time-series forecasting, or when investigating operator adaptation in rolling forecasts.

Who it is for

  • Researchers reproducing the provided time-series benchmark experiments.
  • Practitioners comparing forecasting baselines on non-stationary data.
  • Developers studying rolling-forecast operator adaptation under distribution shifts.

Documented uses

  • Train Koopa on any of the six provided benchmark datasets using the supplied experiment scripts and hyperparameters.
  • Establish a model baseline for non-stationary time-series forecasting.
  • Explore adaptation of the model operator as new observations arrive during rolling forecasts.
Before you choose

Requirements & limits

The repository is public and specifies an MIT license.

  • The documented training setup requires PyTorch 1.12 or later and the listed dependencies.
  • Benchmark runs require obtaining the corresponding dataset.
  • The repository includes a tutorial notebook for rolling-forecast operator adaptation.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare Koopa benchmark experiments

Set up the documented prerequisites and identify the provided benchmark training scripts.

Before you start

  • Python environment with PyTorch 1.12 or later
  • Dependencies listed in requirements.txt
  • One or more of the six benchmark datasets

Steps

  1. Install PyTorch 1.12 or later.

  2. Install the listed dependencies with pip install -r requirements.txt.

  3. Obtain the benchmark datasets from one of the repository's linked data sources.

  4. Choose the corresponding script under scripts for ECL, Traffic, Weather, ILI, Exchange or ETT.

Expected outcome

The documented environment prerequisites, data sources and experiment scripts are identified for a benchmark run.

Guide limitations

  • The documentation notes that additional environment-specific setup may be needed.
  • This preparation does not verify that a run succeeds in a particular environment.
Source-based practical guide

Review operator adaptation for rolling forecasts

Use the repository's tutorial to understand its documented method for adapting the model operator as time-series data arrives.

Before you start

  • The Koopa repository
  • The operator_adaptation.ipynb tutorial notebook

Steps

  1. Open operator_adaptation.ipynb in the repository.

  2. Review the tutorial's rolling-forecast operator-adaptation workflow.

  3. Consult the paper appendix for the iterative algorithm's details.

Expected outcome

A walkthrough of the documented operator-adaptation approach for forecasts facing continuous distribution shifts.

Guide limitations

  • Forecast results depend on the data and implementation.
  • The tutorial and method description do not guarantee performance on a particular time series.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
28 November 2026
Original website title
thuml/Koopa · Official homepage title · retained in its source language