Transformations¶
The aeon.transformations
module contains classes for data
transformations.
Transformations.
All (simple) transformers in aeon can be listed using the aeon.registry .all_estimators utility, using estimator_types=”transformer” tag.
Transformations are categorized as follows:
Category |
Explanation |
Example |
---|---|---|
Composition |
Building blocks for pipelines, wrappers, adapters |
Transformer pipeline |
Series-to-tabular |
Transforms series to tabular data |
Length and mean |
series-to-series |
Transforms individual series to series |
Differencing, detrending |
Series-to-collection |
transforms a series into a collection of time series |
Bootstrap, sliding window |
Collection |
Transforms a collection of times series into a new collection of time series |
Padding to equal length |
Hierarchical |
uses hierarchy information non-trivially |
Reconciliation |
Composition¶
Sklearn and pandas adapters¶
A transformer that turns time series collection into tabular data. |
Series-to-tabular transformers¶
Series-to-tabular transformers transform individual time series to a vector of features, usually a vector of floats, but can also be categorical.
When applied to collections or hierarchical data, the transformation result is a table with as many rows as time series in the collection and a column for each feature.
Shapelets, wavelets and convolution¶
|
Random Shapelet Transform. |
Random Dilated Shapelet Transform (RDST) as described in [R1a26faa97573-1], [R1a26faa97573-2]. |
|
|
Scalable and Accurate Subsequence Transform (SAST). |
|
RandOm Convolutional KErnel Transform (ROCKET). |
|
MINImally RandOm Convolutional KErnel Transform (MiniRocket). |
MINIROCKET (Multivariate, unequal length). |
|
|
Multi RandOm Convolutional KErnel Transform (MultiRocket). |
|
Discrete Wavelet Transform Transformer. |
Distance-based features¶
|
Return the matrix profile and index profile for each time series of a dataset. |
Dictionary-based features¶
Signature-based features¶
|
Transformation class from the signature method. |
Feature collections¶
These transformers extract larger collections of features.
Transformer for extracting time series features via tsfresh.extract_features. |
|
|
Transformer for extracting time series features via tsfresh.extract_features. |
|
Canonical Time-series Characteristics (Catch22). |
Series transforms¶
These transformations apply a function element-wise.
Depending on the transformer, the transformation parameters can be fitted.
|
Box-Cox power transform. |
|
Natural logarithm transformation. |
Detrending¶
Filtering and denoising¶
|
Filter a times series using the Baxter-King filter. |
|
Filter a times series using Discrete Fourier Approximation (DFT). |
Slope¶
|
Piecewise slope transformation. |
Segmentation¶
|
Time series interpolator/re-sampler. |
|
Interval segmentation transformer. |
|
Random interval segmenter transformer. |
|
Sliding window segmenter transformer. |
Window-based series transforms¶
These transformers create a series based on a sequence of sliding windows.
|
HOG1D transform. |
|
Channel scorer performs channel selection using a single channel classifier. |
|
Elbow Class Sum (ECS) transformer to select a subset of channels/variables. |
|
Elbow Class Pairwise (ECP) transformer to select a subset of channels. |
|
Selects a random proportion of channels. |
Panel transformers¶
Panel transformers transform a panel of time series into a panel of time series.
A panel transformer is fitted on an entire panel, and not per series.
Equal length transforms¶
These transformations ensure all series in a panel have equal length
|
Pad unequal length time series to equal, fixed length. |
|
Truncate unequal length time series to a lower bounds. |
Dimension reduction¶
Series-to-Panel transformers¶
These transformers create a panel from a single series.
Outlier detection, changepoint detection¶
|
ClaSP (Classification Score Profile) Transformer. |