Determining the classification of dry beans using WEKA

Paper Details

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

Muscle type and meat quality of local chickens according to preslaughter transport conditions and sex in Benin

Assouan Gabriel Bonou*, Finagnon Josée Bernice Houéssionon, Kocou Aimé Edenakpo, Serge Gbênagnon Ahounou, Chakirath Folakè Arikè Salifou, Issaka Abdou Karim Youssao, Int. J. Biosci. 27(6), 241-250, December 2025.

Effects of micronutrients and timing of application on the agronomic and yield characteristics of cucumber (Cucumis sativus)

Princess Anne C. Lagcao, Marissa C. Hitalia*, Int. J. Biosci. 27(6), 214-240, December 2025.

Response of different soybean varieties to phosphorus fertilizer microdosing and rhizobium inoculation in the sub-humid zone of Northern Benin

Pierre G. Tovihoudji*, Kamarou-Dine Seydou, Lionel Zadji, Sissou Zakari, Valerien A. Zinsou, Int. J. Biosci. 27(6), 201-213, December 2025.

On-farm validation of black soldier fly larvae meal as a sustainable replacement for shrimp meal in rainbow trout diets in the mid hills of Nepal

Ishori Singh Mahato, Krishna Paudel*, Sunita Chand, Anshuka Bhattarai, Int. J. Biosci. 27(6), 189-200, December 2025.

Insect fauna associated with Cucumis sativus (Cucurbitales: Cucurbitaceae) in Parakou, A cotton-growing area of central Benin

Lionel Zadji*, Mohamed Yaya, Roland Bocco, Prudencia M. Tovignahoua, Abdou-Abou-Bakari Lassissi, Raphael Okounou Toko, Hugues Baimey, Leonard Afouda, Int. J. Biosci. 27(6), 175-188, December 2025.

First record of two hymenopteran species, Brachymeria excarinata Gahan (Chalcididae) and Pteromalus sp. (Pteromalidae), as hyperparasitoids of Diadegma insulare in Senegal

Babacar Labou*, Etienne Tendeng, Mamadou Diatte, El hadji Sérigne Sylla, Karamoko Diarra, Int. J. Biosci. 27(6), 167-174, December 2025.

Hepatoprotective and antinociceptive effects of terpinolene in streptozotocin-induced diabetic peripheral neuropathic rats

Ravishankar Sarumathi, Muthukumaran Preethi, Chandrasekaran Sankaranarayanan*, Int. J. Biosci. 27(6), 156-166, December 2025.