Hyperparameter optimisation for support vector machine-based disease detection in maize leaf variants

Authors

  • O. B. Ayoade
    Department of Data Science, Informatics and Computer Science, Emmanuel Alayande University of Education, Oyo, Nigeria
  • M. O. Raji
    Department of Data Science, Informatics and Computer Science, Emmanuel Alayande University of Education, Oyo, Nigeria
  • A. A. Akindele
    Department of Data Science, Informatics and Computer Science, Emmanuel Alayande University of Education, Oyo, Nigeria
  • K. J. Yusuf-Mashopa
    Department of Data Science, Informatics and Computer Science, Emmanuel Alayande University of Education, Oyo, Nigeria
  • M. F. Abdulrauf
    Department of Data Science, Informatics and Computer Science, Emmanuel Alayande University of Education, Oyo, Nigeria
  • I. A. Raji
    Department of Data Science, Informatics and Computer Science, Emmanuel Alayande University of Education, Oyo, Nigeria
  • F. B. Musah
    Department of Data Science, Informatics and Computer Science, Emmanuel Alayande University of Education, Oyo, Nigeria

Keywords:

farmers, livestock, machine learning, RSA, SVM

Abstract

One of the main staple crops farmed and extensively consumed in Africa is maize. However, despite being widely used as a human diet and a raw material for animal feed, several diseases on leaves endanger their productivity and result in a sizable yield loss. However, Nigerian farmers typically employ antiquated techniques to detect plant diseases, which are labour-intensive and prone to mistakes, making the constant need for more effective solutions necessary. Although numerous researchers have developed classification models using Support Vector Machine (SVM) to identify and classify diseases in crop leaves. However, optimising a Support Vector Machine (SVM) is critical because it allows for fine-tuning of its parameters to achieve the best possible performance on a given dataset. Therefore, to optimise Support Vector Machines, this study created a hybrid model that combines Binary Particle Swarm Optimisation (BPSO) with a Reptile Search Algorithm (RSA). The Kaggle village datasets provided images of the leaves of maize. After being converted to grayscale, the pictures were improved with bi-histogram equalisation methods. After segmenting the leaf’s affected area using the Sobel edge detection method, texture, shape, and colour features were extracted using Gray Level Spatial Dependence and colour moment. Every classification model was trained and tested using the 10-fold approach. The performance of the suggested method was compared with a few other machine learning and deep learning models that are currently in use. Regarding identifying maize diseases, the results showed that the BPSO-RSA-SVM model performed better than all other optimised support vector machine models and some deep learning state-of-the-art models. The model demonstrates its efficiency in advancing agricultural disease detection with an average accuracy of 97.01% and a false positive rate of 3.85% compared with BPSO-SVM and RSA-SVM which achieved 96.65% & 95.44% and 3.30% & 4.60% for accuracy and false positive rate, respectively.

Dimensions

[1] P. Bachhal, V. Kukreja, S. Ahuja, U.K. Lilhore, S. Simaiya, A. Bijalwan, R. Alroobaea & S. Algarni, “Maize leaf disease recognition using PRF-SVM integration: a breakthrough technique”, Scientific Reports 14 (2024) 3. https://doi.org/10.1038/s41598-024-60506-8. DOI: https://doi.org/10.1038/s41598-024-60506-8

[2] U. Grote, A. Fasse, T.T. Nguyen & O. Erenstein, “Food security and the dynamics of wheat and maize value chains in Africa and Asia”, Frontiers in Sustainable Food Systems 4 (2021) 2. https://www.frontiersin.org/journals/sustainable-food-systems/articles/10.3389/fsufs.2020.617009/pdf. DOI: https://doi.org/10.3389/fsufs.2020.617009

[3] PwC, “Positioning Nigeria as Africa’s leader in maize production for AfCFTA: Insights on global maize production and how Nigeria can position itself as Africa’s leader in maize production” (2021). https://www.pwc.com/ng/en/assets/pdf/positioning-nigeria-as-africa-leader-in-maize-production-for-afcfta.pdf.

[4] T. Wossen, A. Menkir, A. Alene, T. Abdoulaye, S. Ajala, B. Badu-Apraku, M. Gedil, W. Mengesha & S. Meseka, “Drivers of transformation of the maize sector in Nigeria”, Elsevier 38 (2023) 100713. https://doi.org/10.1016/j.gfs.2023.100713. DOI: https://doi.org/10.1016/j.gfs.2023.100713

[5] T. Wossen, T. Abdoulaye, A. Alene, S. Feleke, A. Menkir & V. Manyong, “Measuring the impacts of adaptation strategies to drought stress: the case of drought tolerant maize varieties”, Journal of Environmental Management 203 (2017) 108. https://doi.org/10.1016/j.jenvman.2017.06.058. DOI: https://doi.org/10.1016/j.jenvman.2017.06.058

[6] M.Alhassan, “Most important pest and diseases of maize (Zea mays)” (2022). https://www.agriculturenigeria.com/main-pests-and-diseases-of-maize-zea-mays/.

[7] B. Natesan, A. Singaravelan, J.-L. Hsu, Y.-H. Lin, B. Lei & C.M. Liu, “Channel–spatial segmentation network for classifying leaf diseases”, Agriculture 12 (2022) 5. https://doi.org/10.3390/agriculture12111886. DOI: https://doi.org/10.3390/agriculture12111886

[8] A. Dubois, F. Teytaud & S. Verel, “Short term soil moisture forecasts for potato crop farming: a machine learning approach”, Computers and Electronics in Agriculture 18 (2021) 10. https://www.sciencedirect.com/science/article/pii/S0168169920331070. DOI: https://doi.org/10.1016/j.compag.2020.105902

[9] E.L. Da Rocha, L. Rodrigues & J.F. Mari, “Maize leaf disease classification using convolutional neural networks and hyperparameter optimization”, in Anais do XVI Workshop de Vis˜ao Computacional (WVC 2020), Brasil: Sociedade Brasileira de Computac¸˜ao - SBC, Oct. 2020, pp. 104–110. https://doi.org/10.5753/wvc.2020.13489. DOI: https://doi.org/10.5753/wvc.2020.13489

[10] A. Waheed, M. Goyal, D. Gupta, A. Khanna, A. E. Hassanien & H. M. Pandey, “An optimized dense convolutional neural network model for disease recognition and classification in corn leaf”, Computers and Electronics in Agriculture 175 (2020) 4. https://doi.org/10.1016/j.compag.2020.105456. DOI: https://doi.org/10.1016/j.compag.2020.105456

[11] T. Gunstone, T. Cornelisse, K. Klein, A. Dubey & N. Donley, “Pesticides and soil invertebrates: a hazard assessment”, Frontiers in Environmental Science 9 (2021) 12. https://doi.org/10.3389/fenvs.2021.643847. DOI: https://doi.org/10.3389/fenvs.2021.643847

[12] A. Owino, “Challenges of computer vision adoption in the Kenyan agricultural sector and how to solve them: a general perspective”, Advances in Agriculture 2 (2023) 6. https://doi.org/10.1155/2023/1530629. DOI: https://doi.org/10.1155/2023/1530629

[13] R. Kumar, A. Chug, A. P. Singh & D. Singh, “A systematic analysis of machine learning and deep learning based approaches for plant leaf disease classification: a review”, Journal of Sensors 4 (2022) 5. https://doi.org/10.1155/2022/3287561. DOI: https://doi.org/10.1155/2022/3287561

[14] V. C. Khade & S. B. Patil, “A hybrid deep learning approach for crop disease severity level prediction”, International Journal of Intelligent Systems and Applications in Engineering 12 (2023) 217. https://ijisae.org/index.php/IJISAE/article/view/4267.

[15] H. Li, M. Qi, B. Du, Q. Li, H. Gao, J. Yu, C. Bi, H. Yu, M. Liang, G. Ye & Y. Tang, “Maize disease classification system design based on improved ConvNeXt”, Sustainability 15 (2023) 7. https://doi.org/10.3390/su152014858. DOI: https://doi.org/10.3390/su152014858

[16] Y. Song, H. Zhang, J. Li, R. Ye, X. Zhou, B. Dong, D. Fan & L. Li, “High-accuracy maize disease detection based on attention generative adversarial network and few-shot learning”, Plants 12 (2023) 4. https://doi.org/10.3390/plants12173105. DOI: https://doi.org/10.3390/plants12173105

[17] P. Zeb, A. M. Qasim, M. Qadir & S. U. Islam, “Maize leaves disease detection and classification using AlexNet model”, The Science Tech 5 (2024) 124. https://www.researchgate.net/publication/380911196_Maize_Leaves_Disease_Detection_and_Classification_using_AlexNet_Model/link/6655bbba479366623a1b0f4d/download?tp=eyJjb250ZXh0Ijp7InBhZ2UiOiJwdWJsaWNhdGlvbiIsInByZXZpb3VzUGFnZSI6bnVsbH19.

[18] I. I. Khan, S. S. Sohail, D. O. Madsen & B. K. Khare, “Deep transfer learning for fine-grained maize leaf disease classification”, Journal of Agriculture and Food Research 16 (2024) 6. https://doi.org/10.1016/j.biosystemseng.2025.104162. DOI: https://doi.org/10.1016/j.jafr.2024.101148

[19] A. Elmasry, W. Abdullah, B. Kang & Y. Nam, “A novel hybrid approach based on CNN for corn diseases detection”, Optimization Agriculture 1 (2024) 98. https://doi.org/10.61356/j.oia.2024.1273. DOI: https://doi.org/10.61356/j.oia.2024.1273

[20] W. Pannakkong, K. Thiwa-Anont, K. Singthong, P. Parthanadee & J. Buddhakulsomsiri, “Hyperparameter tuning of machine learning algorithms using response surface methodology: a case study of ANN, SVM, and DBN”, Mathematical Problems in Engineering 2022 (2022) 8. https://doi.org/10.1155/2022/8513719. DOI: https://doi.org/10.1155/2022/8513719

[21] P. Anantharatnasamy, K. Sriskandaraja, V. Nandakumar & S. Deegalla, “Fusion of colour, shape and texture features for content based image retrieval”, Proceedings of the 8th International Conference on Computer Science and Education (ICCSE), 2013, p. 424. https://www.researchgate.net/profile/Kaavya-Sriskandaraja/publication/261424092_Fusion_of_colour_shape_and_texture_features_for-content_based_image_retrieval/links/5b21f4eeaca272277fa9741b/Fusion-of-colour-shape-and-texture-features-for-content-based-image-retrieval.pdf. DOI: https://doi.org/10.1109/ICCSE.2013.6553949

[22] K. K. Nivethithaa & S. Vijayalakshmi, “Optimized SVM model for maize and rice leaf disease detection”, Data Acquisition and Processing 38 (2023) 3149. https://sjcjycl.cn/article/view-2023/pdf/02-3146.pdf.

[23] F. Solihin, M. Syarief, E. M. Rochman & A. Rachmad, “Comparison of support vector machine (SVM), k-nearest neighbour (KNN), and stochastic gradient descent (SGD) for classifying corn leaf disease based on histogram of oriented gradients (HOG) feature extraction”, Electronics, Informatics, and Vocational Education (ELINVO) 8 (2023) 123. https://doi.org/10.21831/elinvo.v8i1.55759. DOI: https://doi.org/10.21831/elinvo.v8i1.55759

[24] Y. Restil, C. Irsan, M. T. Putril, I. Yani, B. Anshori & B. Suprihatin, “Identification of corn plant diseases and pests based on digital images using multinomial naive Bayes and k-nearest neighbour”, Science and Technology Indonesia 7 (2022) 32. https://sciencetechindonesia.com/index.php/jsti/article/view/415. DOI: https://doi.org/10.26554/sti.2022.7.1.29-35

[25] D. A. Noola & D. R. Bassavaraju, “Corn leaf image classification based on machine learning technique for accurate leaf disease detection”, International Journal of Electrical and Computer Engineering (IJECE) 12 (2022) 2512. https://ijece.iaescore.com/index.php/IJECE/article/view/25952. DOI: https://doi.org/10.11591/ijece.v12i3.pp2509-2516

[26] M. A. Ibrahim, O. O. Ayotunde, A. A. Abeke, B. O. Samushudeen & O. O. Obiyemi, “Development of hybrid learning technique for detection and classification of plant diseases”, Adeleke University Journal of Engineering and Technology 5 (2022) 89. http://aujet.adelekeuniversity.edu.ng/index.php/aujet/article/view/227/155.

[27] M. G. Jayanthi & D. R. Shashikumar, “Automatic tomato plant leaf disease classification using multi-kernel support vector machine”, International Journal of Engineering and Advanced Technology (IJEAT) 9 (2020) 562. https://www.ijeat.org/wpcontent/uploads/papers/v9i5/E9689069520.pdf. DOI: https://doi.org/10.35940/ijeat.E9689.069520

[28] O. B. Ayoade, M. O. Oyediran, F. W. Ipeayeda, M. O. Raji, K. J. Yusuf-Mashopa & A. A. Akindele, “Classification of maize (Zea mays L.) leaf diseases variants based on Sobel edge detection and machine learning technique”, International Journal of Mathematics and Computer Research 13 (2025) 5017. https://journals.indexcopernicus.com/api/file/viewByFileId/2314539. DOI: https://doi.org/10.47191/ijmcr/v13i3.14

[29] R. Bousmaha, “A novel hybrid Aquila optimizer with Whale optimization algorithm for global optimization, feature selection and optimizing SVM parameters”, Proceedings of the 4th International Conference on Pattern Analysis and Intelligent Systems (PAIS), Oum El Bouaghi, Algeria, 2022, pp. 1–8. https://doi.org/10.1109/PAIS56586.2022.9946891. DOI: https://doi.org/10.1109/PAIS56586.2022.9946891

[30] X. Liu & H. Fu, “PSO-based support vector machine with cuckoo search technique for clinical disease diagnoses”, The Scientific World Journal (2014) 3. https://doi.org/10.1155/2014/548483. DOI: https://doi.org/10.1155/2014/548483

[31] L. Alzubaidi, J. Zhang, A. J. Humaidi, A. Al-Dujaili, Y. Duan, O. Al-Shamma, J. Santamaria & M. A. Fadhel, “Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions”, Journal of Big Data 8 (2021) 1. https://doi.org/10.1186/s40537-021-00444-8. DOI: https://doi.org/10.1186/s40537-021-00444-8

Proposed methodology block diagram.

Published

2025-10-28

How to Cite

Hyperparameter optimisation for support vector machine-based disease detection in maize leaf variants. (2025). African Scientific Reports, 4(3), 320. https://doi.org/10.46481/asr.2025.4.3.320

Issue

Section

MATHEMATICAL SCIENCES SECTION

How to Cite

Hyperparameter optimisation for support vector machine-based disease detection in maize leaf variants. (2025). African Scientific Reports, 4(3), 320. https://doi.org/10.46481/asr.2025.4.3.320

Similar Articles

You may also start an advanced similarity search for this article.