Skip to main content

Deep Generative Spatiotemporal Engression for Probabilistic Forecasting

Paper License: MIT

This repository contains the official implementation of the paper "Deep Generative Spatiotemporal Engression for Probabilistic Forecasting of Epidemics" by Rajdeep Pathak and Tanujit Chakraborty.

We introduce Deep Spatiotemporal Engression, a novel method for generating accurate and reliable probabilistic forecasts, specifically designed for low-frequency spatiotemporal datasets. Acting as distributional lenses, these methods generate out-of-sample probabilistic forecasts by sampling from trained models.

Key Contributions:

  • Lightweight Deep Generative Architecture: Replaces heavy conventional models while maintaining high accuracy.
  • Endogenous Uncertainty Quantification: Uncertainty is driven by a pre-additive noise component during model construction.

🚀 Models

We propose three spatiotemporal engression models:

  • Graph Convolutional Engression Network (GCEN)
  • Spatio-Temporal Engression Network (STEN)
  • Multivariate Engression Network (MVEN)

🧠 Model Architecture

GCEN Architecture Figure: Architecture of the Graph Convolutional Engression Network (GCEN).

⚙️ Installation

You can install the package directly via PyPI or clone the repository to install it from the source.

Option 1: Install via PyPI (Recommended)

pip install stengression

Option 2: Install from Source

If you want to modify the code or run the latest development version, you can clone the repository:

git clone [https://github.com/PyCoder913/stengression.git](https://github.com/PyCoder913/stengression.git)
cd stengression
pip install -r requirements.txt

📝 Citation

If you use this code, models, or find our work helpful in your research, please consider citing our paper:

@article{pathak2026deep,
  title={Deep Generative Spatiotemporal Engression for Probabilistic Forecasting of Epidemics},
  author={Pathak, Rajdeep and Chakraborty, Tanujit},
  journal={arXiv preprint arXiv:2603.07108},
  year={2026}
}

Metadata

Release files for stengression 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stengression 0.0.3
File Size Uploaded
stengression-0.0.3.tar.gz 42.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stengression 0.0.3
File Interpreter ABI Platform
stengression-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 85.9 kB

Release files / stengression-0.0.3.tar.gz

Download URL stengression-0.0.3.tar.gz
Size 42.6 kB
Tags Source
SHA-256 checksum
How to use checksums
180bbd3cca5a1e723f3b12a09b96602fd2f9de2c4484e81ccf119da6125dd8bb
BLAKE2b-256 checksum
How to use checksums
dff284ac447bf9e0998adff9592ce6fd14dbbd0c2146170ddb9d1d41dd8eead9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / stengression-0.0.3-py3-none-any.whl

Download URL stengression-0.0.3-py3-none-any.whl
Size 43.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70304a924a0244a50b620ad0aab54187c810b5f92f00194c85b89272b6984994
BLAKE2b-256 checksum
How to use checksums
92937fead260fbd0e80f2cdcf4acbc7e74a9d49ad2c6185d86c71fb39a3b3f68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page