Skip to content

v2.1 🌐 Going Global

Latest

Choose a tag to compare

@WenjieDu WenjieDu released this 25 Nov 07:47
· 19 commits to main since this release

We are excited to announce PyPOTS v2.1! 🎉

This release introduces LIFTS for probabilistic time series imputation and forecasting, extends Python compatibility to 3.14, brings multilingual documentation to our global community, and improves the reliability of several existing models and evaluation utilities.

PyPOTS continues to evolve as a Python toolbox for unified analysis of real-world time series, now offering 50+ models and methods across six time series analysis tasks: imputation, forecasting, classification, clustering, anomaly detection, and representation learning.

✨ Release Highlights

🧠 Introducing LIFTS

LIFTS (Latent-driven Imputation and Forecasting in Time Series) is now available in PyPOTS for probabilistic modeling of partially observed multivariate time series.

  • Probabilistic time series imputation and forecasting.
  • Sample-based predictions for uncertainty quantification.
  • Joint training for imputation and forecasting.
  • In-sample forecasting with the same fitted imputation model.
  • Integration with PyPOTS' unified APIs, data loading, and model management.

Available under pypots.imputation.LIFTS and pypots.forecasting.LIFTS.

👍 Kudos to @sanyouwu for bringing LIFTS to PyPOTS!

🐍 Python 3.14 Support

PyPOTS now supports Python 3.10–3.14, with updated package metadata, installation documentation, and CI configurations covering both legacy and modern dependency environments.

Compatibility notice: Python 3.9 is no longer supported. The minimum required Python version is now 3.10.

🌍 PyPOTS Speaks 10 Languages

To make PyPOTS more accessible to researchers, engineers, and developers worldwide, we have comprehensively redesigned our README and introduced nine additional language versions:

English, 简体中文, 日本語, 한국어, Deutsch, Français, Español, Português (Brasil), Русский, and Bahasa Indonesia.

The refreshed README also features:

  • A clearer introduction to the PyPOTS philosophy and ecosystem.
  • A reorganized Model Zoo and task-specific resources.
  • A self-contained SAITS quick-start example.
  • A standalone TS2Vec example for time series representation learning.
  • Improved installation, documentation, and contribution guidance.

Community contributions to improve the translations are warmly welcomed!

🛠️ Bug Fixes and Improvements

  • Fixed binary classification metrics, including precision, recall, and F1-score calculations for specified positive class labels.
  • Fixed exception handling for invalid classification input dimensions.
  • Fixed the validation dataset used during BRITS classification training.
  • Improved LIFTS input validation for empty datasets and inconsistent sample counts.
  • Fixed linear interpolation (LERP) for time series containing only one observed value.
  • Fixed the PyTorch implementation of LOCF by replacing NumPy operations with native PyTorch operations.
  • Added regression tests covering the above fixes.
  • Added a security policy and private vulnerability reporting guidance.
  • Improved CI dependency configurations and CPU-only PyTorch testing environments.

📋 What's Changed

  • Add LIFTS probabilistic imputation and forecasting by @sanyouwu in #907
  • Validate LIFTS input sample counts before training by @sanyouwu in #908
  • Fix BRITS classification validation dataset by @AkashGowdaNC in #913
  • Add security policy in #914
  • Integrate LIFTS and improve classification and imputation implementations in #915
  • Support Python 3.10–3.14 and update CI environments in #916 and #917
  • Revamp README and add multilingual support in #921

📦 Installation

pip install pypots==2.1

To upgrade an existing installation:

pip install --upgrade pypots

❤️ Acknowledgements

Many thanks to all our contributors and community members for helping make PyPOTS more powerful, reliable, and accessible.

Happy time series modeling with PyPOTS!