Skip to main content

Table 2 NSL-KDD data distribution

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

Attacks types

NSL-KDD-full feature set

NSL-KDD-reduced and Balanced Feature Set

Training

Validation

Testing

Training Set

Validation Test

Testing Set

N = Normal

54,108

10,998

10,998

12,987

10,998

10,998

D = DoS

41,415

8111

7009

8989

8111

7009

P = Probe

9855

3221

3221

4255

3221

3221

R = R2L

3617

632

632

1729

632

632

U = U2R

94

16

16

67

16

16

Total

109,089

22,978

21,876

28,027

22,978

21,876