Research Article

An Effective Algorithm for Intrusion Detection Using Random Shapelet Forest

Algorithm 2

Shapelet_sampling ().
Input: : the data set of time series; : The dimension of the time series; : the number of shapelet for each tree
Output: : a set of shapelets
1 ;
2 ;
3 for to do
4 , , ;
5 ;
6 if do
7  ; continue;
8 ;
9 ;
10 ;
11 return ;