mvtsa.segmentation.clasp_profile#

mvtsa.segmentation.clasp_profile(X, width, k=3, exclusion=None, score='macro_f1', knn=None, normalize=True)[source]#

Classification score profile of one series (or of X restricted to a range): entry i scores the split before subsequence i.

Parameters:
widthint

Subsequence width.

kint

Neighbours of the kNN classifier (odd).

exclusionint, optional

Splits closer than exclusion subsequences to the ends get score 0 (default 5 * width, at most a quarter of the profile).

score{“macro_f1”, “accuracy”}