Table 9. Effect of varying numbers of clusters.
| K | Validation results (%) | Test results (%) | ||||||
|---|---|---|---|---|---|---|---|---|
| F1-score | Precision | Recall | Accuracy | F1-score | Precision | Recall | Accuracy | |
| 3 | 97.42 | 96.86 | 98.02 | 97.79 | 97.47 | 96.95 | 98.04 | 97.81 |
| 4 | 96.97 | 96.14 | 97.94 | 97.38 | 97.04 | 96.32 | 97.89 | 97.43 |
| 5 | 98.59 | 98.37 | 98.82 | 98.78 | 98.40 | 98.24 | 98.55 | 98.62 |
| 6 | 97.79 | 97.19 | 98.47 | 98.10 | 97.74 | 97.20 | 98.33 | 98.04 |