Research Article

Intrusion Detection System Based on Decision Tree over Big Data in Fog Environment

Table 5

The calculation time contrast for three methods.

MethodGroup
4 kinds 10%22 kinds 10%4 kinds full22 kinds full

Decision tree1.455921545 s1.173570469 s3.319417967 s3.143889363 s
BernoulliNB0.472016006 s0.552608763 s0.986687026 s1.116946133 s
KNN1962.25 s/7372.6833 s/