Skip to main content

Table 10 NSL-KDD confusion matrix

From: Cyberattack detection in wireless sensor networks using a hybrid feature reduction technique with AI and machine learning methods

Phases

Feature set

Full feature set

Reduced feature set

Class

N

D

P

R

U

Class

N

D

P

R

U

Training

N

69,293

0

0

0

1

N

8867

0

0

0

1

D

13

2814

3

9

6

D

0

5454

3

1

1

P

0

0

1745

1

0

P

0

0

2988

1

0

R

0

0

0

2038

0

R

3

0

0

4239

0

U

6

4

0

1

6628

U

0

4

0

1

4038

Validation

N

1044

1

0

0

1

N

1044

1

0

0

1

D

13

2822

2

6

0

D

13

2822

2

6

0

P

0

0

5044

1

0

P

0

0

5044

1

0

R

0

0

0

3513

0

R

0

0

0

3513

0

U

4

1

0

1

872

U

4

1

0

1

872

Testing

N

9964

4

0

0

1

N

9964

4

0

0

1

D

14

3879

3

1

0

D

14

3879

3

1

0

P

0

0

3589

1

0

P

0

0

3589

1

0

R

3

0

0

4247

3

R

3

0

0

4247

3

U

0

1

0

1

866

U

0

1

0

1

866

  1. At N=Normal, F=Fuzzers, A=Analysis, B=Backdoors, D=Dos, E=Exploits, G=Generic, R=Reconnaissance, SC=Shell code