Skip to main content
. 2024 Jan 25;10:e1741. doi: 10.7717/peerj-cs.1741

Table 4. The model performance for each AI algorithm comparison.

Algorithm Training
time (sec.)
Predict
speed (ms.)
F1-score
(%)
Accuracy
(%)
ANN 490.061 0.354 96.147 96.482
SVM 35.883 0.031 82.971 82.914
k-NN 9.988 0.135 89.947 67.315
Decision tree 2.992 0.005 99.335 98.867
Naïve Bayes 3.985 0.006 84.917 84.924