| Algorithm 2 DL model training |
| Input: |
| Output: |
| 1: Divide , into equal size B batches with feature vector x; |
| 2: Set with initial values; |
| 3: For each Batch; |
| Forward x to ; |
| Forward to ; |
| Flatten ; |
| Forward to ; |
| Forward to ; |
| Forward to ; |
| Dropout ; |
| Forward to Output(Sigmoid); |
| 4: Compute loss function using: |
| ; |
| 5: Update ; |
| 6: Repeat until converges; |