Zurück zu den Modellen
Transformer

MatrixProfileFeatures

Return the matrix profile and index profile for each time series of a dataset.

Transforms a panel of time series to feature vectors containing the matrix profile for each series.

Schnellstart

python
from sktime.transformations.matrix_profile import MatrixProfileFeatures

estimator = MatrixProfileFeatures(m=10)

Parameter(1)

mint, default=10
Desired subsequence length used to compute the matrix profile.

Beispiele

>>> from sktime.datasets import load_unit_test
>>> from sktime.transformations.matrix_profile import MatrixProfileFeatures
>>> X, _ = load_unit_test (return_X_y = True)
>>> Xt = MatrixProfileFeatures (m = 10). fit_transform (X)
>>> Xt. shape [0 ] == X. shape [0 ] True