Research Article

Application of Discrete Wavelet Transform in Shapelet-Based Classification

Algorithm 4

Monte Carlo (N).
Input: simulation times N step length
Output: the maximum accuracy of N simulations
1: List ⟵
2: for ⟵ 1 to do
3: for ⟵ 1 to do
4: generate random weight
5: List ⟵ append(computeAccuracy()
6: ⟵ max(List)
7: return