Classification of hazelnut cultivars: comparison of DL4J and ensemble learning algorithms
DOI:
https://doi.org/10.15835/nbha48412041Keywords:
cultivar classification; DL4J; ensemble learning; hazelnut; machine learningAbstract
Classification of hazelnuts is one of the values adding processes that increase the marketability and profitability of its production. While traditional classification methods are used commonly, machine learning and deep learning can be implemented to enhance the hazelnut classification processes. This paper presents the results of a comparative study of machine learning frameworks to classify hazelnut (Corylus avellana L.) cultivars (‘Sivri’, ‘Kara’, ‘Tombul’) using DL4J and ensemble learning algorithms. For each cultivar, 50 samples were used for evaluations. Maximum length, width, compression strength, and weight of hazelnuts were measured using a caliper and a force transducer. Gradient boosting machine (Boosting), random forest (Bagging), and DL4J feedforward (Deep Learning) algorithms were applied in traditional machine learning algorithms. The data set was partitioned into a 10-fold-cross validation method. The classifier performance criteria of accuracy (%), error percentage (%), F-Measure, Cohen’s Kappa, recall, precision, true positive (TP), false positive (FP), true negative (TN), false negative (FN) values are provided in the results section. The results showed classification accuracies of 94% for Gradient Boosting, 100% for Random Forest, and 94% for DL4J Feedforward algorithms.
References
Akar Ö, Güngör O (2012). Classification of multispectral images using random forest algorithm. Journal of Geodesy and Geoinformation 1(2):139-146. https://doi.org/10.9733/jgg.241212.1
Al-Barazanchi KK, Al-Neami AQ, Al-Timemy AH (2017). Ensemble of bagged tree classifier for the diagnosis of neuromuscular disorders. In: Proceedings of the 4th International Conference on Advances in Biomedical Engineering. Beirut, Lebanon pp 1-4.
Aoki K, Sakamoto M, Furutani H (2015). Analysis of genetic disease haemophilia a by using machine learning. Journal of Robotics Networking and Artificial Life 2(2):115-119. https://doi.org/10.2991/jrnal.2015.2.2.11
Bostan SZ, Güler SK (2016). Quality changes during in-shell storage of some hazelnut cultivars. Bahçe 45(2):41-53.
Brahimi M, Boukhalfa K, Moussaoui A (2017). Deep learning for tomato diseases: classification and symptoms visualization. Applied Artificial Intelligence 31(4):299-315. https://doi.org/10.1080/08839514.2017.1315516.
Bühlmann P (2012). Bagging, boosting and ensemble methods. In: Handbook of Computational Statistics. Springer, Berlin, Heidelberg.
Caladcad JA, Cabahug S, Catamco MR, Villaceran PE, Cosgafa L, Cabizares KN, ... Piedad EJ (2020). Determining Philippine coconut maturity level using machine learning algorithms based on acoustic signal. Computers and Electronics in Agriculture 172:105327. https://doi.org/10.1016/j.compag.2020.105327
Datta AK, Botta B, Gattam SSR (2019). Damage detection on chicken eggshells using Faster R-CNN. American Society of Agricultural and Biological Engineers 1:1
El-Bendary N, El Hariri E, Hassanien AE, Badr A (2015). Using machine learning techniques for evaluating tomato ripeness. Expert Systems with Applications 42(4):1892-1905. https://doi.org/10.1016/j.eswa.2014.09.057
Ercisli S, Ozturk I, Kara M, Kalkan F, Seker H, Duyar O, Erturk Y (2011). Physical properties of hazelnuts. International Agrophysics 25(2):115-121.
FAOSTAT (2019). Food and Agriculture Organization of the United Nations. Retrieved 2020 August 1 from http://www.fao.org/faostat/en/#data/QC/visualize
Giraudo A, Calvini R, Orlandi G, Ulrici A, Geobaldo F, Savorani F (2018). Development of an automated method for the identification of defective hazelnuts based on RGB image analysis and colour grams. Food Control 94:233-240. https://doi.org/10.1016/j.foodcont.2018.07.018
Guvenc SA, Senel FA, Cetisli B (2015). Classification of processed hazelnuts with computer vision. In: Proceedings of the 23th Signal Processing and Communications Applications Conference. Malatya, Turkey, pp 1362-1365.
Ishikawa T, Hayashi A, Nagamatsu S, Kyutoku Y, Dan I, Wada T, … Kochi N (2018). Classifıcation of strawberry fruit shape by machine learning. International Archives of the Photogrammetry, Remote Sensing & Spatial Information Sciences 42(2):463-470. https://doi.org/10.5194/isprs-archives-XLII-2-463-2018
Jalali A, Mahmoudi A (2013). Pistachio nut cultivars sorting by data mining and fuzzy logic classifier. International Journal of Agriculture and Crop Sciences 5(2):101-109.
Kavdir I, Guyer DE (2004). Apple grading using fuzzy logic. Turkish Journal of Agriculture and Forestry 27(6):375-382.
Kovalev V, Kalinovsky A, Kovalev S (2016). Deep learning with theano, torch, caffe, tensorflow, and deeplearning4J: Which one is the best in speed and accuracy? In: Proceedings of the XIII International Conference on Pattern Recognition and Information Processing. Minsk, Belarus, pp 99-103.
Liakos KG, Busato P, Moshou D, Pearson S, Bochtis D (2018). Machine learning in agriculture: A review. Sensors 18(8):2674-2703. https://doi.org/10.3390/s18082674
Manickavasagan A, Al-Shekaili NH, Al-Mezeini NK, Rahman MS, Guizani N (2018). Computer vision technique to classify dates based on hardness. Journal of Agricultural and Marine Sciences 22(1):36-41.
Menesatti P, Costa C, Paglia G, Pallottino F, D'Andrea S, Rimatori V, Aguzzi J (2008). Shape-based methodology for multivariate discrimination among Italian hazelnut cultivars. Biosystems Engineering 101(4):417-424. https://doi.org/10.1016/j.biosystemseng.2008.09.013
Miraei Ashtiani SH, Rohani A, Aghkhani MH (2020). Soft computing-based method for estimation of almond kernel mass from its shell features. Scientia Horticulturae 262:109071. https://doi.org/10.1016/j.scienta.2019.109071
Mohsenin NN (1980). Physical properties of plant and animal materials. Gordon and Breach Science Publishers, One Park Avenue, New York, USA.
Nandi CS, Tudu B, Koley C (2014). Computer vision-based mango fruit grading system. In: Proceedings of the International Conference on Innovative Engineering Technologies. Srinagar, India, pp 28-29.
Natekin A, Knoll A (2013). Gradient boosting machines, a tutorial, Frontiers in neurorobotics 7(21):1-21. https://doi.org/10.3389/fnbot.2013.00021
Pronprasit R, Natwichai J (2013). Prediction of mango fruit quality from Nir spectroscopy using an ensemble classification. International Journal of Computer Application 83(14):25-30.
Salzberg SL (1994). C4.5: Programs for Machine Learning by J. Ross Quinlan. Mach Learn 16:235-240. https://doi.org/10.1007/BF00993309
Saranya N, Srinivasan K, Kumar SP, Rukkumani V, Ramya R (2019). Fruit classification using traditional machine learning and deep learning approach. In: Proceedings of the In International Conference on Computational Vision and Bio Inspired Computing. Springer, Cham pp 79-89.
Sayıncı B, Kara M, Ercişli S, Duyar Ö, Ertürk Y (2015). Elliptic fourier analysis for shape distinction of Turkish hazelnut cultivars. Erwerbs-Obstbau 57(1):1-11. https://doi.org/10.1007/s10341-014-0221-7
Seker SE, Erdogan D (2018). End-to-end data science with KNIME. Demet Erdoğan Publishing, Turkey.
Shi L, Duan Q, Zhang J, Xi L, Ma X (2018). Rough set-based ensemble learning algorithm for agricultural data classification. Filomat 32(5):1917-1930. https://doi.org/10.2298/fil1805917s.0
Shin J, Chang YK, Nguyen-Quang T, Heung B, Ravichandran P (2019). Optimizing parameters for image processing techniques using machine learning to detect powdery mildew in strawberry leaves. American Society of Agricultural and Biological Engineers 1:1.
Solak S, Altınışık U (2018). Detection and classification of hazelnut fruit by using image processing techniques and clustering methods. Sakarya University Journal of Science 22(1):56-65. https://doi.org/10.16984/saufenbilder.303850
Takran T, Chartrungruang B, Tantranont N, Somhom S (2017). Constructing a Thai homestay standard assessment model by implementing a decision tree technique. International Journal of the Computer, the Internet and Management 25(2):106-112.
Teimouri N, Omid M, Mollazade K, Rajabipour A (2014). A novel artificial neural network assisted segmentation algorithm for discriminating almond nut and shell from background and shadow. Computers and Electronics in Agriculture 105:34-43. https://doi.org/10.1016/j.compag.2014.04.008
Vaishnav D, Rao BR (2018). Comparison of machine learning algorithms and fruit classification using orange data mining tool. In: Proceedings of the 3rd International Conference on Inventive Computation Technologies. Coimbatore, Tamilnadu, India pp 603-607.
Vidyarthi SK, Tiwari R, Singh SK, Xiao H (2020). Prediction of size and mass of pistachio kernels using random Forest machine learning. Journal of Food Process Engineering 43(9):e13473. https://doi.org/10.1111/jfpe.13473
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2020 Caner KOC, Dilara GERDAN, Maksut B. EMİNOĞLU, Uğur YEGÜL, Bulent KOC, Mustafa VATANDAŞ
This work is licensed under a Creative Commons Attribution 4.0 International License.
License:
Open Access Journal:
The journal allows the author(s) to retain publishing rights without restriction. Users are allowed to read, download, copy, distribute, print, search, or link to the full texts of the articles, or use them for any other lawful purpose, without asking prior permission from the publisher or the author.