tslearn.shapelets

The tslearn.shapelets module gathers Shapelet-based algorithms.

It depends on the tensorflow library for optimization (TF2 is required).

User guide: See the Shapelets section for further details.

Functions

grabocka_params_to_shapelet_size_dict(n_ts, …) Compute number and length of shapelets.

Classes

LearningShapelets([n_shapelets_per_size, …]) Learning Time-Series Shapelets model.