Research Article

Application of Discrete Wavelet Transform in Shapelet-Based Classification

Algorithm 2

ShapeletTransform().
Input: , a set of the best shapelets which is generated from the training data and , dataset containing time series and class labels
Output: a new transformed dataset
1:
2: for all in do
3:
4: for all shapelets in do
5: dist ⟵
6:
7:
8:
9: return