Table 4.
Models | Type | Variables | Training | Testing | ||||
---|---|---|---|---|---|---|---|---|
No. 1 | Correct | CR/% 2 | No. 1 | Correct | CR/% 2 | |||
KNN | Healthy | 24 | 87 | 87 | 100 | 43 | 40 | 93.02 |
Diseased | 70 | 70 | 100 | 35 | 32 | 91.43 | ||
All | 157 | 157 | 100 | 78 | 72 | 92.31 | ||
AdaBoost | Healthy | 24 | 87 | 87 | 100 | 43 | 42 | 97.67 |
Diseased | 70 | 70 | 100 | 35 | 35 | 100 | ||
All | 157 | 157 | 100 | 78 | 77 | 98.72 |
1 Number of samples; 2 Classification rate.