Research Article

Application of Discrete Wavelet Transform in Shapelet-Based Classification

Algorithm 1

ShapeletSelection(, , , ).
Input: a list of time series , , and length shapelet to search for and the maximum number of shapelets to find
Output: the best shapelets
1: k shapelets ⟵
2: for all in do
3:
4: for ⟵ to do
5: for ⟵ 1 to do
6:
7: for all in do
8:
9: quality ⟵
10:
11:
12:
13: return