Model Performance

Evaluation metrics of the trained KNN model.

Accuracy

89.43%

Precision

90.0%

Recall

95.29%

F1 Score

92.57%

ROC AUC

88.72%

Model Evaluation Charts

Confusion Matrix

ROC Curve

Model Comparison

Model Accuracy Precision Recall F1 Score ROC-AUC
Logistic Regression 83.74% 89.16% 87.06% 88.1% 87.72%
Decision Tree 73.17% 87.14% 71.76% 78.71% 74.01%
Random Forest 86.18% 89.89% 89.41% 89.65% 88.53%
KNN ⭐ 89.43% 90.0% 95.29% 92.57% 88.72%

🏆 Best Model

K-Nearest Neighbors (KNN)

After evaluating Logistic Regression, Decision Tree, Random Forest, and KNN, the KNN model achieved the highest overall performance.

  • ✔ Highest Accuracy
  • ✔ Highest Recall
  • ✔ Strong F1 Score
  • ✔ Reliable ROC-AUC