Dataframes creation
β Import the .csv files πΎπ·π·πππππ + and πΎπ·π·πππ π‘ + (pandas
library)
β Dataframe type variables with sizes 125,973 Γ 43 and
22,544 Γ 43 respectively
β Create 2 more copies and format the labels
β Binary: rename all attacks, so that there are only
βnormalβ and βabnormalβ labels
β 4-class grouping: rename attacks according to their
attack class, labels are βnormalβ, βDoSβ, βProbeβ, βR2Lβ
and βU2Rβ
15