Table 4 Comparative analysis of detection methods.

From: Bi directional sparse attention recurrent autoencoder based intrusion detection for VANET security with tuna swarm optimization

Detection Approaches

Accuracy

F1 score

Test_Time (ms)

KNN

0.881

0.762

6.28

Logistic Regression

0.893

0.827

7.11

RandomForest

0.823

0.732

25.24

Decision Tree

0.911

0.920

79.002

XGBOost

0.923

0.931

129.38

CNN

0.928

0.917

97.232

DQN

0.938

0.921

109.23

DQN with RFE

0.942

0.932

100.11

DDQN

0.938

0.927

141.24

MAFIDS

0.967

0.961

33.242

DNN + BSAR-AE -LSO (Proposed)

0.981

0.972

28.911