Optimasi Hyperparameter WOA-SVM pada Citra Daun Kopi Terpupuk NPK
DOI:
https://doi.org/10.36050/zrj1e094Keywords:
Support Vector Machine, Whale Optimization Algorithm, Citra Daun Kopi, Klasifikasi, Pemupukan NPKAbstract
This study aims to analyze the impact of Whale Optimization Algorithm (WOA) optimization on the performance of Support Vector Machine (SVM) in classifying images of coffee leaves treated with NPK fertilizer. WOA is employed to find the optimal combination of SVM parameters to improve classification accuracy. The dataset consists of coffee leaf images that have undergone feature extraction based on color and texture. Performance evaluation was conducted using a confusion matrix, classification report, and heatmap visualization. The results show that the SVM model optimized with WOA performs better than the non-optimized SVM. Specifically, the non-optimized SVM achieved a precision of 0.82, recall of 0.81, and F1-score of 0.81. After optimization with WOA, the model’s precision increased to 0.90, recall to 0.88, and F1-score to 0.87. This study demonstrates that metaheuristic approaches like WOA can significantly enhance the performance of classification algorithms in the context of digital image processing. The findings have practical implications for early detection of plant quality through image-based analysis in technology-driven agriculture
References
[1] USDA, “Production - Coffee,” 2024. Accessed: Apr. 06, 2025. [Online]. Available: https://www.fas.usda.gov/data/production/commodity/0711100
[2] D. K. Imron and A. R. A. Satrya, “Women and Coffee Farming: Collective Consciousness towards Social Entrepreneurship in Ulubelu, Lampung,” Jurnal Ilmu Sosial dan Ilmu Politik, vol. 22, no. 3, pp. 216–229, Mar. 2019, doi: 10.22146/JSP.35366.
[3] F. Fitriani, B. Arifin, and H. Ismono, “Indonesian coffee exports and its relation to global market integration,” Journal of Socioeconomics and Development, vol. 4, no. 1, p. 120, Apr. 2021, doi: 10.31328/jsed.v4i1.2115.
[4] D. Fauzi, U. Purnamasari, S. A. Wicaksono, and C. Maharani, “When local customs meet the market: an analysis of coffee value chain in Tebat Benawa customary community, Indonesia,” Int J Agric Sustain, vol. 21, no. 1, 2023, doi: 10.1080/14735903.2023.2231769.
[5] V. H. Morales Peña, A. Mora Garcés, E. D. M. Virginio Filho, and M. Villatoro Sánchez, “Growth and Productivity of Coffea arabica var. Esperanza L4A5 in Different Agroforestry Systems in the Caribbean Region of Costa Rica,” Agriculture (Switzerland), vol. 14, no. 10, Oct. 2024, doi: 10.3390/agriculture14101723.
[6] J. Liu et al., “Effect of nitrogen, phosphorus and potassium fertilization management on soil properties and leaf traits and yield of Sapindus mukorossi,” Front Plant Sci, vol. 15, 2024, doi: 10.3389/fpls.2024.1300683.
[7] J. Xie, S. Lv, X. Zhang, W. Song, X. Liu, and Y. Lu, “Exploring Nutrient Deficiencies in Lettuce Crops: Utilizing Advanced Multidimensional Image Analysis for Precision Diagnosis,” Sensors, vol. 25, no. 7, Apr. 2025, doi: 10.3390/s25071957.
[8] Aulia Wicaksono, I Putu Eka Nila Kencana, and I Wayan Sumarjaya, “Image Classification Comparison Using Neural Network and Support Vector Machine Algorithm With VGG16 As Feature Extraction Method,” International Journal of Applied Mathematics and Computing, vol. 1, no. 3, pp. 41–52, Oct. 2024, doi: 10.62951/ijamc.v1i3.29.
[9] R. Guido, S. Ferrisi, D. Lofaro, and D. Conforti, “An Overview on the Advancements of Support Vector Machine Models in Healthcare Applications: A Review,” Information (Switzerland), vol. 15, no. 4, Apr. 2024, doi: 10.3390/info15040235.
[10] Y. J. Chang, Y. L. Lin, and P. F. Pai, “Support Vector Machines with Hyperparameter Optimization Frameworks for Classifying Mobile Phone Prices in Multi-Class,” Electronics (Switzerland), vol. 14, no. 11, Jun. 2025, doi: 10.3390/electronics14112173.
[11] L. K. Ramasamy, S. Kadry, and S. Lim, “Selection of optimal hyper-parameter values of support vector machine for sentiment analysis tasks using nature-inspired optimization methods,” Bulletin of Electrical Engineering and Informatics, vol. 10, no. 1, pp. 290–298, Feb. 2021, doi: 10.11591/eei.v10i1.2098.
[12] J. Wei et al., “LSEWOA: An Enhanced Whale Optimization Algorithm with Multi-Strategy for Numerical and Engineering Design Optimization Problems,” Sensors, vol. 25, no. 7, Apr. 2025, doi: 10.3390/s25072054.
[13] Y. J. Chang, Y. L. Lin, and P. F. Pai, “Support Vector Machines with Hyperparameter Optimization Frameworks for Classifying Mobile Phone Prices in Multi-Class,” Electronics (Switzerland), vol. 14, no. 11, Jun. 2025, doi: 10.3390/electronics14112173.
[14] F. Septian and N. D. Putriani, “Identification of Determinants of Inclusive Economic Growth Using the Metaheuristic Whale Optimization Algorithm Approach,” Jurnal Software Engineering and Computational Intelligence, vol. 3, no. 01, 2025.
[15] C. Y. Lee and G. L. Zhuo, “A hybrid whale optimization algorithm for global optimization,” Mathematics, vol. 9, no. 13, Jul. 2021, doi: 10.3390/math9131477.
[16] F. Septian, U. Serelo Lahat, T. Ribang Kemambang, B. Agung, and B. Jaya, “Unlocking Communication Wonders: Exploring Transmitter and Receiver Concepts with p5.js,” JOURNAL SHIFT VOL, vol. 4, 2024.
[17] J. Kozak, B. Probierz, K. Kania, and P. Juszczuk, “Preference-Driven Classification Measure,” Entropy, vol. 24, no. 4, Apr. 2022, doi: 10.3390/e24040531.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Agustian Prakarsya, Nina Dwi Putriani, Yusi Nurmala Sari, Firza Septian (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.






