Research Article

Explainable Artificial Intelligence-Based IoT Device Malware Detection Mechanism Using Image Visualization and Fine-Tuned CNN-Based Transfer Learning Model

Table 3

Performance of deep features with different machine learning classifiers.

Dataset 1
ClassifierPrecisionRecallF1-scoreAccuracy

Decision tree0.980.980.980.982
Logistic regression0.90.90.90.896
Random forest0.990.990.990.985
K-nearest neighbor0.980.980.980.984
Ensemble learning0.980.980.980.984

Dataset 2
Decision tree0.880.880.880.875
Logistic regression0.250.270.250.273
Random forest0.910.910.910.91
K-nearest neighbor0.880.880.880.881
Ensemble learning0.90.90.90.902

For dataset 1, we found that the proposed method with random forest performed well with an accuracy of 0.985, F1-score of 0.99, precision of 0.99, and recall of 0.99. Similarly, for dataset 2, we found that the proposed method with random forest performed well with an accuracy of 0.91, F1-score of 0.91, precision of 0.91, and recall of 0.91).