regression.md
118 lines · skills/aeon/references/regression.md at 5f2bc03
Time Series Regression
Selected aeon 1.6 regressors predict one continuous target per series. This is distinct from forecasting future timepoints.
Raw lines 1 to 4Convolution-Based Regressors
Apply convolutional kernels for feature extraction:
HydraRegressor- Multi-resolution dilated convolutionsRocketRegressor- Random convolutional kernelsMiniRocketRegressor- Simplified ROCKET for speedMultiRocketRegressor- Convolutional features from raw and differenced series with multiple pooling operatorsMultiRocketHydraRegressor- Merges ROCKET and Hydra approaches
Use when: Need fast regression with strong baseline performance.
Raw lines 5 to 16Deep 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- Convolutional encoder architectureLITETimeRegressor- Lightweight inception time ensembleDisjointCNNRegressor- Specialized CNN architecture
Use when: Large datasets, complex patterns, or need feature learning.
Raw lines 17 to 32Distance-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.
Raw lines 33 to 40Feature-Based Regressors
Extract statistical features before regression:
Catch22Regressor- 22 canonical time-series characteristicsFreshPRINCERegressor- TSFresh features followed by rotation forestSummaryRegressor- Summary statistics featuresTSFreshRegressor- Automated tsfresh feature extraction
Use when: Need interpretable features or domain-specific feature engineering.
Raw lines 41 to 51Hybrid Regressors
Combine multiple approaches:
RISTRegressor- Randomized Interval-Shapelet Transformation
Use when: Benefit from combining interval and shapelet methods.
Raw lines 52 to 59Interval-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.
Raw lines 60 to 72Shapelet-Based Regressors
Use discriminative subsequences for prediction:
RDSTRegressor- Random Dilated Shapelet Transform
Use when: Need phase-invariant discriminative patterns.
Raw lines 73 to 80Composition 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)Raw lines 95 to 110Algorithm 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