|
Algorithm 1 Proposed hybrid detection framework. |
-
1:
Input: Dataset =
-
2:
Output: , and so on.
-
3:
Split the in to and
-
4:
foreach layer of do
-
5:
= Pre-proceessing of
-
6:
= Train the model using
-
7:
-
8:
-
9:
-
10:
-
11:
-
12:
end for
-
13:
= Pre-processing of
-
14:
= Test the model using
-
15:
while True do
-
16:
-
17:
if the value predicted = 0 then
-
18:
Return Benign
-
19:
else
-
20:
Return attack type
-
21:
end if
-
22:
end while
|