Transformer
MatrixProfileTransformer
Calculate the matrix profile of a time series.
Quickstart
python
from sktime.transformations.matrix_profile import MatrixProfileTransformer
estimator = MatrixProfileTransformer(window_length=3)Parameters(1)
- window_lengthint
Examples
>>> from sktime.transformations.matrix_profile import MatrixProfileTransformer
>>> from sktime.datasets import load_airline
>>> y = load_airline ()
>>> transformer = MatrixProfileTransformer ()
>>> y_hat = transformer. fit_transform (y)