Algorithm 1: The overlap algorithm to generate training samples. |
Input: Given one long signal witha length of , whose fault type is ; the training sample’s number ; and the training sample’s length . Output: N training samples {}. 1. calculating the overlap step ; defined each sample’s starting index and ending index ; defined and matrix to save training features and corresponding fault type . 2. For i in 1 to :{ 3. 4. 5. 6. } 7. End for 8. Return and |