Fig. 3 | Scientific Reports

Fig. 3

From: Discovering periodontitis biomarkers and therapeutic targets through bioinformatics and ensemble learning analysis

Fig. 3

Performance evaluation of bagging model: confusion matrix and ROC curve with AUC = 0.98: (A) heatmap of the confusion matrix. The confusion matrices were computed using the confusion_matrix function from the sklearn.metrics module, based on the encoded test labels (y_test_encoded) and the model predictions (y_pred). The heatmaps were then plotted using the seaborn library’s heatmap function with annotation and a blue color scheme for clarity. Python (Version 3.10.12), Seaborn (Version 0.11.2), Matplotlib (Version 3.5.1), scikit-learn (Version 1.0.2) were used to generate the Heatmap. (B) ROC curve of the Bagging model.

Back to article page