This code is used to learn Shapelet features from time series that form an embedding such that L2-norm in the Shapelet Transform space is close to DTW between original time series.
To learn a model and use it to perform
python clustering.py DatasetName [Conv]
A PyTorch implementation of the model is available at https://rtavenar.github.io/hdr/parts/02/shapelets_cnn.html#Learning-to-Mimic-a-Target-Distance.