3.9 KiB
Time Series Regression
Aeon provides time series regressors across 9 categories for predicting continuous values from temporal sequences.
Convolution-Based Regressors
Apply convolutional kernels for feature extraction:
HydraRegressor- Multi-resolution dilated convolutionsRocketRegressor- Random convolutional kernelsMiniRocketRegressor- Simplified ROCKET for speedMultiRocketRegressor- Combined ROCKET variantsMultiRocketHydraRegressor- Merges ROCKET and Hydra approaches
Use when: Need fast regression with strong baseline performance.
Deep Learning Regressors
Neural architectures for end-to-end temporal regression:
FCNRegressor- Fully convolutional networkResNetRegressor- Residual blocks with skip connectionsInceptionTimeRegressor- Multi-scale inception modulesTimeCNNRegressor- Standard CNN architectureRecurrentRegressor- RNN/LSTM/GRU variantsMLPRegressor- Multi-layer perceptronEncoderRegressor- Generic encoder wrapperLITERegressor- Lightweight inception time ensembleDisjointCNNRegressor- Specialized CNN architecture
Use when: Large datasets, complex patterns, or need feature learning.
Distance-Based Regressors
k-nearest neighbors with temporal distance metrics:
KNeighborsTimeSeriesRegressor- k-NN with DTW, LCSS, ERP, or other distances
Use when: Small datasets, local similarity patterns, or interpretable predictions.
Feature-Based Regressors
Extract statistical features before regression:
Catch22Regressor- 22 canonical time-series characteristicsFreshPRINCERegressor- Pipeline combining multiple feature extractorsSummaryRegressor- Summary statistics featuresTSFreshRegressor- Automated tsfresh feature extraction
Use when: Need interpretable features or domain-specific feature engineering.
Hybrid Regressors
Combine multiple approaches:
RISTRegressor- Randomized Interval-Shapelet Transformation
Use when: Benefit from combining interval and shapelet methods.
Interval-Based Regressors
Extract features from time intervals:
CanonicalIntervalForestRegressor- Random intervals with decision treesDrCIFRegressor- Diverse Representation CIFTimeSeriesForestRegressor- Random interval ensembleRandomIntervalRegressor- Simple interval-based approachRandomIntervalSpectralEnsembleRegressor- Spectral interval featuresQUANTRegressor- Quantile-based interval features
Use when: Predictive patterns occur in specific time windows.
Shapelet-Based Regressors
Use discriminative subsequences for prediction:
RDSTRegressor- Random Dilated Shapelet Transform
Use when: Need phase-invariant discriminative patterns.
Composition Tools
Build custom regression pipelines:
RegressorPipeline- Chain transformers with regressorsRegressorEnsemble- Weighted ensemble with learnable weightsSklearnRegressorWrapper- Adapt sklearn regressors for time series
Utilities
DummyRegressor- Baseline strategies (mean, median)BaseRegressor- Abstract base for custom regressorsBaseDeepRegressor- Base for deep learning regressors
Quick Start
from aeon.regression.convolution_based import RocketRegressor
from aeon.datasets import load_regression
# Load data
X_train, y_train = load_regression("Covid3Month", split="train")
X_test, y_test = load_regression("Covid3Month", split="test")
# Train and predict
reg = RocketRegressor()
reg.fit(X_train, y_train)
predictions = reg.predict(X_test)
Algorithm Selection
- Speed priority: MiniRocketRegressor
- Accuracy priority: InceptionTimeRegressor, MultiRocketHydraRegressor
- Interpretability: Catch22Regressor, SummaryRegressor
- Small data: KNeighborsTimeSeriesRegressor
- Large data: Deep learning regressors, ROCKET variants
- Interval patterns: DrCIFRegressor, CanonicalIntervalForestRegressor