PYRREGULAR: A Unified Framework for Irregular Time Series, with Classification Benchmarks
Francesco Spinnato, Cristiano Landi
TL;DR
This work tackles irregular time series data by introducing pyrregular, a unified framework that converts heterogeneous irregular data into a common array-based representation and provides a standardized 34-dataset repository for classification benchmarks. It details preprocessing to a long format, conversion to a sparse COO tensor, a densification step for downstream learners, and integration with xarray for interoperability across libraries. An extensive benchmark across 12 classifiers reveals that generalist models like Rocket and BORF/LGBM offer robust, fast performance across irregularity types, while deep learning methods can outperform baselines with task-specific fine-tuning. The framework enhances reproducibility and cross-domain evaluation, highlighting both the promise of specialized irregular-time models and the enduring value of simple, robust baselines for irregular data analysis.
Abstract
Irregular temporal data, characterized by varying recording frequencies, differing observation durations, and missing values, presents significant challenges across fields like mobility, healthcare, and environmental science. Existing research communities often overlook or address these challenges in isolation, leading to fragmented tools and methods. To bridge this gap, we introduce a unified framework, and the first standardized dataset repository for irregular time series classification, built on a common array format to enhance interoperability. This repository comprises 34 datasets on which we benchmark 12 classifier models from diverse domains and communities. This work aims to centralize research efforts and enable a more robust evaluation of irregular temporal data analysis methods.
