Table 3.
Accuracy and speed comparison between NB and WOA-NB.
Classifier | Datasets | ||||
---|---|---|---|---|---|
Algorithm(s) | Parameters | Diabetes | Heart-C | Heart-H | Sonar |
No. of Features | 8 of 8 | 13 of 13 | 13 of 13 | 60 of 60 | |
NB | Accuracy (%) | 77.24 | 83.04 | 83.91 | 85.4 |
Time (s) | 1.3151 | 0.81224 | 0.82374 | 0.87044 | |
No. of Features | 4 of 8 | 12 of 13 | 12 of 13 | 52 of 60 | |
WOA and NB | Accuracy (%) | 79.82 | 85.48 | 87.07 | 88.94 |
Time (s) | 0.93421 | 0.80358 | 0.79651 | 0.85827 |