Determining the classification of dry beans using WEKA

Paper Details

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

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.

Flammability of tropical grasses: Towards a functional ecology of fire in savannas

Kouamé Fulgence Koffi, Yao Anicet Gervais Kouamé, Tionhonkélé Drissa Soro, Koffi Prosper Kpangba, Int. J. Biosci. 27(4), 57-68, October 2025.

Sensory qualities, proximate composition and microbial activity of cacao pod-based food products

John Carlo L. Banan, Aiza T. Ramos, Int. J. Biosci. 27(4), 48-56, October 2025.

Perception of oil palm producers on infestations of Trabanta rufisquamata defoliating caterpillars in palm groves in southern Benin

Abilou Oloyiwola Olorounto, Hervé Nonwegnon Sayimi Aholoukpe, Micheline Vignon Hintenou, Houngan Judicaël Yelian Yan, Ladekpo Sylvain Ogoudjobi, Antoine Badou, Aimé H. Bokonon-Ganta, Int. J. Biosci. 27(4), 34-47, October 2025.

Fire spread control for management purpose: Fuel moisture critical threshold in annually burned dry savanna of west Africa

Tionhonkélé Drissa Soro, Jean-Luc Kouassi, Bareremna Afelu, Amara Ouattara, Moussa Koné, Int. J. Biosci. 27(4), 19-33, October 2025.

Renal protection by Okra (Abelmoschus esculentus) seed oil against cadmium toxicity in male rats

Amani A. R. Filimban, Nada O. Batais, Int. J. Biosci. 27(4), 8-18, October 2025.

Effects of an organic amendment based on biodigester effluent on cotton yield parameters in the Cascades region of Burkina Faso

F. Y. Lankoande, A. Bamogo, M. Traore, S. Ouedraogo, Int. J. Biosci. 27(4), 1-7, October 2025.

Organic feed additive Alpha-Bio+ as an alternative to chemical antibiotics: Effect on zootechnical performance and coccidial burden in laying hens Lohmann Brown

Coulibaly Assetou Ya, Yapi Jean Noel, Kadjo Vincent, Ouattara N’Golo , Yao Kouakou, Int. J. Biosci. 27(3), 221-228, September 2025.