Algorithm 1. Single example generator. | |
1 | ← 32 random identities from 1 random database |
2 | while is less than 32: |
3 | db ← random database |
4 | ← random identity from db |
5 | if: |
6 | |
7 | |
8 | ← empty set |
9 | : |
10 | : |
11 | ← 2 random ECG segments without overlapped |
12 | else: |
13 | ← random ECG segment |
14 | |
15 | |
16 | |
17 | return |