Determining the classification of dry beans using WEKA

Paper Details

Research Paper 08/07/2023
Views (1631)
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

The protective effect of black pepper (Piper nigrum) on liver enzymes in streptozotocin-induced diabetic rats

Amani A. R. Filimban, Khulud A. Wathi, Int. J. Biosci. 27(4), 140-149, October 2025.

Production of bioplastics (PHB) using waste paper as feed stock by Cupriavidus taiwanensis

Ajeena Davis, Jini Joseph, Int. J. Biosci. 27(4), 130-139, October 2025.

Gill ectoparasites of the mugilidae from the Ebrié lagoon, Abidjan (Côte d’Ivoire)

Eby Yoboué Gnamma Honorine Alla, Carel Wilfried Bermian Dibi-Ahui, Fidèle Kouassi Kouakou, Abouo Béatrice Adepo-Gourene, Int. J. Biosci. 27(4), 123-129, October 2025.

Impacts of diverse water management systems on growth and yield of two prominent boro rice cultivars in Bangladesh

Zahidul Islam, Md Ekhlasur Rahman, Md Khayrul Islam Bashar, Sharmin Sultana, Md Taharat Al Tauhid, Md Rabiul Islam, Md Shahed Hossain, Md Musa Mondal, Pradip Kumar Biswas, Int. J. Biosci. 27(4), 110-122, October 2025.

First record of Brachymeria excarinata Gahan, 1925 (Hymenoptera: Chalcididae) parasitizing Plutella xylostella (L.) (Lepidoptera: Plutellidae) in west Africa

Babacar Labou, Etienne Tendeng, El hadji Sérigne Sylla, Mamadou Diatte, Karamoko Diarra, Int. J. Biosci. 27(4), 104-109, October 2025.

Assessment of adsorption isotherms of three plantain flours (Musa paradisiaca L. var. Horn 1, FHIA 21 and PITA 3) and cassava flour (Manihot esculenta Crantz var. Bonoua 2)

Brou Koffi Siméon, Yue Bi Yao Clément, Kane Fako, Douali Gohi Bi Douali Jean-Sory, Tano Kablan, Int. J. Biosci. 27(4), 93-103, October 2025.

Exploring the antioxidant efficacy of boldine: A natural compound with broad-spectrum activity

Maharani Jaganathan, Kathiresan Suresh, Manickam John, Rajeswari Vasu, Theerthu Azhamuthu, Nihal Ahamed Abulkalam Asath, Ravichandran Pugazhendhi, Pratheeba Veerapandiyan, Int. J. Biosci. 27(4), 82-92, October 2025.

Assessment of genetic parameters and yield trait stability in sweet sorghum genotypes through AMMI and GGE biplot approaches

A. H. Inuwa, H. A. Ajeigbe, Y. Mustapha, B. S. Aliyu, I. I. Angarawai, Int. J. Biosci. 27(4), 69-81, October 2025.