sklearn_to_aeon¶
- sklearn_to_aeon(estimator)[source]¶
Coerces an sklearn estimator to the aeon pipeline interface.
Creates a pipeline of two elements, the Tabularizer transformer and the estimator. The Tabularizer transformer acts as adapter and holds aeon base class logic, as well as converting aeon datatypes to a feature vector format. Multivariate series will be concatenated into a single feature vector. Data must be of equal length.
- Parameters:
- estimatorsklearn compatible estimator
Can be a classifier, regressor, clusterer, or transformer.
- Returns:
- pipeaeon pipeline estimator
A pipeline of the Tabularizer transformer and input estimator.