Shameem Fatima,M. Seshashayee,



Multiclass SVM,ECOC,kernel technique,KFold validation,


The research study aim to improve the performance of fruit quality by two approaches, first by applying kernel technique combined with specific classification method support vector machine (SVM) with error-correcting output codes for fruit categorization and then by cross validation . It is measured by analyzing the different mention kernel selection on color and shape features. Two coding design method such as one-vs.-one and one- vs.- all are examined with three commonly used kernel function linear, polynomial (cubic) and Radial Basis Function (Gaussian). The Experiment was conducted on fruit dataset created from fruit 360 dataset with six categories such as Apples, Avacados, Bananas, Cherrys, Grapes and lemons. The accuracy obtained for the fruit category with 98% accuracy was enhanced by the proposed method by the use of kernel technique selection resulted to 99%. However kernel choice highly depends on the parameter used for fruit categorization is introduced and discussed. The Experiments was carried out to find the best SVM kernel among linear, cubic and Gaussian for fruit categorization. The Experiment also focuses on evaluation process using cross validation methods kfold and hold out which resulted in a better accuracy for the classification model.  The results show that the proposed method provides very stable and successful fruit classification performance over six categories of fruits. The coding design one- vs. - one performed better when compared to one- vs. - all with respect to accuracy and training speed.


I A.Bhargava, A.Bansal, Fruits and vegetables quality evaluation using computer vision: A review. Journal of King Saud University – Computer and Information Sciences (2018),

II C.Maaoui, & A.Pruski, (2008, July). A comparative study of SVM kernel applied to emotion recognition from physiological signals. In 2008 5th International Multi-Conference on Systems, Signals and Devices (pp. 1-6). IEEE.

III C.Ouyang, D.Li, J.Wang, S.Wang, & Y.Han, (2012, October). The research of the strawberry disease identification based on image processing and pattern recognition. In International Conference on Computer and Computing Technologies in Agriculture (pp. 69-77). Springer, Berlin, Heidelberg.

IV C. Sammut and G. I. Webb, Eds., “Holdout Evaluation,” in Encyclopedia of Machine Learning and Data Mining, Boston, MA: Springer US, 2017, p. 624.

V Donahue, Jeff, et al. “Decaf: A deep convolutional activation feature for generic visual recognition.” arXiv preprint arXiv:1310.1531 (2013).

VI EzgiiErturk, Ebru AkapinarSezer “A comparision of some soft computing methods for software fault prediction” Expert system with applications,Elsevier, pp1872-1879,vol.42, 2015.

VII F.Al-Shargie, T.B.Tang, N.Badruddin, & M.Kiguchi, (2018). Towards multilevel mental stress assessment using SVM with ECOC: an EEG approach. Medical & biological engineering & computing, 56(1), 125-136.

VIII Fruits 360 Dataset on Kaggle. last visited on 06.07.2019

IX G.Muhammad, (2015). Date fruits classification using texture descriptors and shape-size features. Engineering Applications of Artificial Intelligence, 37, 361-367.

X H. M.Zawbaa, M.Abbass, M.Hazman, & A. E.Hassenian, (2014, November). Automatic fruit image recognition system based on shape and color features. In International Conference on Advanced Machine Learning Technologies and Applications (pp. 278-290). Springer, Cham.

XI L.Qiang, C.Jianrong, L.Bin, D.Lie, & Z.Yajing, (2014). Identification of fruit and branch in natural scenes for citrus harvesting robot using machine vision and support vector machine. International Journal of Agricultural and Biological Engineering, 7(2), 115-121.

XII M.Achirul Nanda, K. Boro Seminar, D. Nandika, & A. Maddu, (2018). A comparison study of kernel functions in the support vector machine and its application for termite detection. Information, 9(1), 5.

XIII P. Refaeilzadeh, L. Tang, and H. Liu, “Cross-Validation,” in Encyclopedia of Database Systems, L. LIU and M. T. ÖZSU, Eds. Boston, MA: Springer US, 2009, pp. 532–538.

XIV R. S. Chora’s, “Image Feature Extraction Techniques and their Applications for CBIR and Biometrics Systems”.International Journal of Biology and Biomedical Engineering, 2007, 1(1), 6–16.

XV S.Fatima, and M. Sesehashayee, (2020). Healthy Fruits Image Label Categorization through Color Shape and Texture Features Based on Machine Learning Algorithm, International Journal of Innovative Technology and Exploring Engineering, ISSN: 2278-3075, Volume-9 Issue-3.

XVI S. R.Dubey, & A. S. (2012). Robust approach for fruit and vegetable classification. Procedia Engineering, 38, 3449-3453.

XVII S. M. Iqbal, A.Gopal, P. E., Sankaranarayanan, & A. B. Nair, (2016). Classification of selected citrus fruits based on color using machine vision system. International journal of food properties, 19(2), 272-288.

XVIII Shepperd, D. Bowes, and T. Hall, “Researcher bias: The use of machine learning in software defect prediction,” Software Engineering, IEEE Transactions on, vol. 40,no. 6, pp. 603-616, 2014.

XIX S.Ibrahim, N. A.Zulkifli, N.Sabri, A. A.Shari, & M. R. M.Noordin, (2019). Rice grain classification using multi-class support vector machine (SVM). IAES International Journal of Artificial Intelligence, 8(3), 215.

XX T. G. Dietterich, G.Bakiri, 1995. Solving Multiclass Learning Problems via Error-Correcting Output Codes. Journal of Artificial Intelligence Research, 2, pp. 263-286.

XXI Y.Zhang, & L. Wu, (2012). Classification of fruits using computer vision and a multiclass support vector machine. Sensors, 12(9), 12489-12505.

XXII Z.Wen, B.Li, R.Kotagiri, J.Chen, Y.Chen, & R.Zhang, (2017, February). Improving efficiency of SVM k-fold cross-validation by alpha seeding. In Thirty-First AAAI Conference on Artificial Intelligence.

XXIII Z.Yan, Y.Yang, (2014). Application of ecocsvms in remote sensing image classification. The International Archives of Photogrammetry, Remote Sensing and Spatial Information Sciences, 40(2), 191.

XXIV Z.Yan, & Y.Yang, (2014). Performance analysis and coding strategy of ECOC SVMs. International Journal of Grid and Distributed Computing, 7(1), 67-76

View Download