Research Article

Intrusion Detection System Using the G-ABC with Deep Neural Network in Cloud Environment

Algorithm 3

Multiclass labelling.
(1)Start
(2)Calculate size of DFILE, [Row, Col] = size (DFILE)
(3)Label Extraction from DFILE
(4)All Label = []//Create a blank matrix to store Labels from DFILE
(5)For I in range (DFILE (Row))
(6)Label (I) = DFILE (I, Col)
(7)If Label (I) not belongs to Label
 (a) All Label (Count) = Label (I)
(8)EndIf
(9)EndFor
(10)Convert all Labels into five generic labels according to subclass
(11)Unique Label = []
(12)For I in range (D FILE (Row))
(13)Label (I) = All Label (I)
(14)If Label (I) ε {back, Neptune, smurf′, teardrop, pod, land}
 a Unique Label (Count) = DoS
(15)Else If Label (I) ε {warezclient, guess_passwd, warezmaster, imap, ftp_write, multihop, phf, spy}
 (a) Unique Label (Count) = R2L
(16)Else If Label (I) ε {buffer_overflow, rootkit, loadmodule}
 (a) Unique Label (Count) = U2R
(17)Else If Label (I) ε {satan, ipsweep, portsweep, nmap}
 (a) Unique Label (Count) = Probe
(18)Else
 (a) Unique Label (Count) = Normal
(19)End–If
(20)End–For