Research Article

Securing the IoT System of Smart City against Cyber Threats Using Deep Learning

Table 2

Parameters details.

NameParameter

Test size0.2 (for all classifier)
Number of trees1000 (for random forest) and 500 (for majority voting)
LossCategorical cross-entropy (for ANN/CNN)
OptimizerAdam (for ANN/CNN)
Dropout0.5 (for ANN/CNN)
Batch size20 (for ANN) and 128 (for CNN)
Epochs15 (for ANN) and 20 (for CNN)