Determining the classification of dry beans using WEKA

Paper Details

Research Paper 08/07/2023
Views (1521)
current_issue_feature_image
publication_file

Determining the classification of dry beans using WEKA

Rhowel M. Dellosa
Int. J. Biosci. 23(1), 81-92, July 2023.
Copyright Statement: Copyright 2023; The Author(s).
License: CC BY-NC 4.0

Abstract

The significant variety in bean shape and size makes dry bean classification a difficult task. Traditional categorization procedures, such as hand sorting, are time-consuming and labor-intensive. Machine learning approaches appear to be a potential option for dry bean classification. A machine learning classification approach for dry beans using WEKA was offered in this research. The approach employs Multilayer Perceptron (MLP), Support Vector Machine (SVM), k-Nearest Neighbors (kNN), and Decision Tree (DT) machine learning algorithms. The method was evaluated on a dataset of 13,611 dry beans from seven different varieties shared by Koklu, M. and Ozkan, I.A., (2020) extracted from the UCI machine learning repository. The approaches attained an accuracy of 90.30%, 90.83%, 92.23% and 92.49% for k-nearest neighbor, decision tree, support vector machine and multilayer perceptron respectively. The multilayer perceptron has the highest accuracy while the k-nearest neighbor has the lowest accuracy performance. The suggested method offers various advantages over conventional dry bean classification methods. It is more accurate, faster, and requires less labor. The method can also be used to classify dry beans that are difficult to identify visually. According to the findings of this study, machine learning approaches provide a potential strategy for dry bean classification. The proposed method can be utilized to automate the dry bean classification process, which could result in considerable efficiency and accuracy gains and the algorithm that performs the best accuracy may be used for classifications of Dry Beans in the Philippines.

Beltrán NH, Duarte-Mermoud MA, Vicencio VS, Salah S, Bustos M. 2008. Chilean Wine Classification Using Volatile Organic Compounds Data Obtained With a Fast GC Analyzer. IEEE Transactions on Instrumentation and Measurement 57(11), 2421-2436. https://doi.org/10.1109 /tim.200

Cortez P, Cerderia A, Almeida F, Matos T, Reis J. “Modelling wine preferences by data mining from physicochemical properties,” In Decision Support Systems, Elsevier 47(4), 547-553. ISSN: 0167-9236.

Kenyhercz MW, Passalacqua NV. 2016. Missing Data Imputation Methods and Their Performance With Biodistance Analyses. In Elsevier eBooks (pp. 181-194). https://doi.org/10.1016/b978-0-12-801966

Khalafyan AAATZ, Akin’shina VA, Yakuba YF. 2021. Data on the sensory evaluation of the dry red and white wines quality obtained by traditional technologies from European and hybrid grape varieties in the Krasnodar Territory, Russia. Data in Brief 36, 106992   https://doi.org/10.1016 /j.dib. 2021.106992

Kılıc K, Boyaci IH, Koksel H, Kusmenoglu I. 2007. A classification system for beans using computer vision system and artificial neu- ral networks. J Food Eng 78, 897-904. https://doi.org /10.1016/j. jfoodeng.2005.11.030

Koklu M, Ozkan IA. 2020. Multiclass classification of dry beans using computer vision and machine learning techniques. Computers and Electronics in Agriculture 174, 105507. https://doi.org /10.1016 /j.compag.2020.105507

Moreno, Gonzalez-Weller, Gutierrez, Marino, Camean, Gonzalez, Hardisson. 2007. Differentiation of two Canary DO red wines according to their metal content from inductively coupled plasma optical emission spectrometry and graphite furnace atomic absorption spectrometry by using Probabilistic Neural Networks”. Talanta 72, 263-268.

Ooi MP, Sok HK, Kuang YC, Demidenko S. 2017. Alternating Decision Trees. In Elsevier eBooks (pp. 345-371). https://doi.org/10.1016/b978-0-12-811318-9.00019-3

Pisner D, Schnyer DM. 2020. Support vector machine. In Elsevier eBooks (pp. 101-121). https:// doi.org/10.1016/b978-0-12-815739-8.00006-7

Sun J, Jiang S, Mao H, Wu X, Li Q. 2016. Classification of black beans using visible and near infrared hyperspectral imaging. Int J Food Prop 19, 1687-1695.  https://doi.org/10.1080/10942912. 2015.1055760

Teye E, Huang X, Han F, Botchway F. 2014. Discrimination of cocoa beans according to geographical origin by electronic tongue and multivariate algorithms. Food Anal Methods 7, 360-365.  https:// doi.org/10.1007/s12161-013-9634-4

Tien JM. 2017. Internet of Things, Real-Time Decision Making, and Artificial Intelligence. Annals of Data Science 4(2), 149-178.  https://doi.org/10.1007 /s40745-017-0112-5

Witten IH, Frank E, Hall MA, Pal CJ. 2016. The WEKA Workbench. https://www.cs.waikato.ac.nz /ml/weka/Witten_et_al_2016_appendix.pdf

Related Articles

Lipid peroxidation and antioxidant status in 2,4,6-octatrienoic acid treated A549 and HCT-116 cancer cells

Shanmugam M. Sivasankaran, Raju Kowsalya, Krishnan Baskaran, Chakravarthy Elanchezhiyan, Int. J. Biosci. 27(1), 291-296, July 2025.

Public health implications of microbial contamination in registered slaughterhouses: A case study from La Union, Philippines

Carlo G. Fernandez, Harlene S. Fernandez, Priscilo P. Fontanilla Jr., Reinalyn D. Austria, Int. J. Biosci. 27(1), 272-290, July 2025.

Heterocyclic pyrazoline’s derivatives exhibiting promising potential antidiabetic activity

Mohd Akil, Farah Siddiqui, Amar Chandra Sharma, Mirza Masroor Ali Beg, Iqbal Azad, Firoz Hassan, Abdul Rahman Khan, Naseem Ahmad, Benjamin Siddiqui, Int. J. Biosci. 27(1), 244-271, July 2025.

Harnessing mangrove ecosystems for CO2 sequestration: Insights from remote sensing and GIS technologies

Anas Bin Firoz, Vaishaly Saranaathan, Swagata Chakraborty, Thoti Damodharam, Munisamy Govindaraju, Int. J. Biosci. 27(1), 225-243, July 2025.

Zootechnical performances of djallonké sheep supplemented with cocoa bean fragments, fruits, and leaves of Cajanus cajan in Côte D’ivoire

Ané François De Paul Atsé, Jacques Yao Datté, Sidiki Sangaré, Alassane Méïté, Int. J. Biosci. 27(1), 213-224, July 2025.

Cultivation and nutritional analysis of Pleurotus sp. from different substrates

P. Maheswari, P. Madhanraj, V. Ambikapathy, P. Prakash, A. Panneerselvam, Int. J. Biosci. 27(1), 204-212, July 2025.

Crinum asiaticum L. bulb extracts as a potential source of novel antimicrobial agents: An in-vitro study

K. Gowthaman, P. Prakash, V. Ambikapathy, S. Babu, A. Panneerselvam, Int. J. Biosci. 27(1), 194-203, July 2025.