Research Article

A Stacked Deep Learning Approach for IoT Cyberattack Detection

Algorithm 1

Algorithm for stacked deep ResNet models.
Input: Training Data in
Output: ensemble classifier out
Initialisation:
Step 1: learn base-level classifiers Ci
fori =1 to 5 do
  Learn Ci based on D.
end for
Step 2: form new data set of predictions Dh
 for i=1 to 5 do
  Dh={}, where
end for
Step 3: learn a meta classifier
 Learn H based on
return