Research Article
Prediction of Future Terrorist Activities Using Deep Neural Networks
Algorithm 2
The training of deep neural network using gradient descent optimization algorithm.
| Input: the whole dataset of GTD along with labels | | Output: optimized values of and | | Data: GTD Datasets | (1) | //Glorot Uniform initializer | (2) | | (3) | while do | (4) | | (5) | whiledo | (6) | | (7) | // | (8) | increment by 1 | (9) | //Binary cross-entropy loss | (10) | | (11) | whiledo | (12) | | (13) | | (14) | decrement by 1 |
|