Research Article

Network Traffic Classification Based on SD Sampling and Hierarchical Ensemble Learning

Table 10

Classification performance of the sampled dataset with the SMOTE algorithm.

PrecisionRecallF1 scoreFNRFPR

SMOTE layer1
Benign0.99990.99770.99880.00010.0023
Other0.99770.99990.99880.00230.0001

Accuracy0.9988
Macro avg0.99880.99880.99880.00120.0012
Weighted avg0.99880.99880.99880.00120.0012

SMOTE layer2
Benign0.99990.99770.99880.00010.0023
DoS hulk0.98191.00000.99090.01810.0000
DDoS1.00001.00001.00000.00000.0000
PortScan1.00001.00001.00000.00000.0000
DoS goldeneye0.99880.99800.99840.00120.0020
FTP-patator1.00001.00001.00000.00000.0000
DoS slowloris0.99550.99410.99480.00450.0059
DoS slowhttptest0.99620.99460.99540.00380.0054
SSH-patator1.00000.99750.99880.00000.0025
Bot1.00000.99790.99900.00000.0021
Infiltration1.00000.88890.94120.00000.1111
Heartbleed1.00001.00001.00000.00000.0000
Web attack0.99250.99070.99160.00750.0093

Accuracy0.9979
Macro avg0.99730.98920.99300.00270.0108
Weighted avg0.99800.99790.99790.00200.0021