[Paper Review] aeon: a Python toolkit for learning from time series
aeon is a unified Python 3 library for time series machine learning that provides forecasting, classification, extrinsic regression, clustering, and experimental modules with a scikit-learn–style API and minimal core dependencies.
aeon is a unified Python 3 library for all machine learning tasks involving time series. The package contains modules for time series forecasting, classification, extrinsic regression and clustering, as well as a variety of utilities, transformations and distance measures designed for time series data. aeon also has a number of experimental modules for tasks such as anomaly detection, similarity search and segmentation. aeon follows the scikit-learn API as much as possible to help new users and enable easy integration of aeon estimators with useful tools such as model selection and pipelines. It provides a broad library of time series algorithms, including efficient implementations of the very latest advances in research. Using a system of optional dependencies, aeon integrates a wide variety of packages into a single interface while keeping the core framework with minimal dependencies. The package is distributed under the 3-Clause BSD license and is available at https://github.com/ aeon-toolkit/aeon. This version was submitted to the JMLR journal on 02 Nov 2023 for v0.5.0 of aeon. At the time of this preprint aeon has released v0.9.0, and has had substantial changes.
Motivation & Objective
- Aim to provide a unified, easy-to-use Python toolkit for time series machine learning tasks including forecasting, classification, extrinsic regression, and clustering.
- Design the package to be modular and compatible with the scikit-learn API to facilitate integration, model selection, and pipelines.
- Minimize core dependencies while enabling optional integrations with other popular Python libraries for TSML.
- Support a broad range of time series algorithms and utilities, and enable reproducible benchmarking and experimentation within a single framework.
Proposed method
- Modular package design with learning-task–focused modules (forecasting, classification, clustering, extrinsic regression) that largely avoid cross-module imports.
- Object-oriented estimators aligned with the scikit-learn interface, including a BaseCollectionEstimator and data-type tags to describe capabilities (e.g., multivariate, unequal_length).
- Extensive use of numpy, scipy, and a core scikit-learn–style estimator interface; optional dependencies (statsmodels, TensorFlow, tsfresh) to wrap or provide additional algorithms.
- Transformers (series-to-series and series-to-features) that integrate into pipelines and support both general and collection-specific processing.
- Experimentally oriented modules (segmentation, anomaly detection, similarity search, benchmarking) intended to evolve rapidly.
- Forecasting interfaces support tools like model selection, evaluation, ensembling, probabilistic intervals, hierarchical/global forecasting, and panel forecasting, with input primarily as pandas DataFrames/Series and conversion utilities.
Experimental results
Research questions
- RQ1How can time series machine learning tasks be unified under a single, scikit-learn–style interface without compromising task-specific requirements?
- RQ2What design choices enable easy integration, benchmarking, and reproducibility across forecasting, classification, clustering, and extrinsic regression for time series?
- RQ3How far can a single Python toolkit minimize core dependencies while still providing access to a wide range of TSML algorithms via optional integrations?
- RQ4Can a modular, task-oriented architecture accelerate experimentation and adoption in the time series ML community?
- RQ5What is the scope and potential of experimental modules (segmentation, anomaly detection, similarity search, benchmarking) for rapid development and testing?
Key findings
- aeon provides a comprehensive, modular toolkit for time series ML, covering forecasting, classification, clustering, extrinsic regression, and experimental tasks.
- The package follows a scikit-learn–like API to ease use and integration with pipelines and model selection tools.
- aeon emphasizes minimal core dependencies with optional integrations to popular TSML packages, enabling a broad yet lean interface.
- Core modules are designed around a common base structure with tags that describe data capabilities (e.g., multivariate, unequal_length), facilitating flexible data handling.
- The forecasting module interfaces with established tools (e.g., prophet, pmdarima, statsforecast, tbats) and supports advanced features like probabilistic intervals and hierarchical/global forecasting.
- A wide variety of classification, clustering, and regression approaches are implemented, including convolutional, dictionary-based, distance-based, feature-based, hybrid, interval-based, and shapelet-based methods.
- Transformers enable time series to be converted within pipelines both as series-to-series and series-to-features, supporting a range of representations such as Fourier transforms and TSFresh features.
- Experimental modules cover segmentation, anomaly detection, similarity search, and benchmarking, indicating active development and future expansion.
- aeon positions itself as a unifying, extensible framework intended to advance reproducible TSML research and integration within the Python ecosystem.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.