Skip to main content
. 2019 Apr 11;19(7):1741. doi: 10.3390/s19071741

Table 4.

Confusion matrix for ripeness grading identification for different classifiers.

Fruit Classifier TP % FP % FN % TN % Accu. %
Golden Apple Naive Bayes 73.66 6.67 26.33 93.33 83.50
Linear Discriminant Analysis 73.00 8.67 27.00 91.33 82.17
Decision Tree 76.33 12.33 23.67 87.67 82.00
Nearest Neighbor 81.33 13.33 18.67 86.67 84.00
Nearest Neighbor k = 5 80.00 13.67 20.00 86.33 83.17
SVM 68.00 2.00 32.00 98.00 83.00
Banana Naive Bayes 90.00 4.00 10.00 96.00 93.00
Linear Discriminant Analysis 90.50 5.00 9.50 95.00 92.75
Decision Tree 84.50 3.50 15.50 96.50 90.50
Nearest Neighbor 87.00 13.00 13.00 87.00 87.00
Nearest Neighbor k = 5 87.00 3.00 13.00 97.00 92.00
SVM 90.50 5.50 9.50 94.50 92.50
Red apple Naive Bayes 73.33 46.67 26.67 53.33 63.33
Linear Discriminant Analysis 86.67 40.00 13.33 60.00 73.33
Decision Tree 63.33 40.00 36.37 60.00 61.67
Nearest Neighbor 60.00 66.67 40.00 33.33 46.67
Nearest Neighbor k = 5 80.00 36.67 20.00 63.33 71.67
SVM 96.67 90.00 3.3 10.00 53.33
QDA 86.67 26.67 13.33 73.33 80.00