sklearn_to_aeon¶
- sklearn_to_aeon(estimator)[source]¶
Coerces an sklearn estimator to the aeon pipeline interface.
Creates a pipeline of two elements, the identity transformer and the estimator. The identity transformer acts as adapter and holds aeon base class logic.
- Parameters:
- estimatorsklearn compatible estimator
can be classifier, regressor, transformer, clusterer
- Returns:
- pipeaeon estimator of corresponding time series type
classifiers, regressors, clusterers are converted to time series counterparts by flattening time series. Assumes equal length time series. transformers are converted to time series transformer by application per series