Classifying Nutrient Deficiencies in Palm Oil Leaves Using Convolutional Neural Network with Class Weights and Early Stopping Techniques

Authors

  • Nureize Arbaiy Universiti Tun Hussein Onn Malaysia
  • Muhammad Nazim Razali Universiti Tun Hussein Onn Malaysia
  • Muhammad Shukri Che Lah Universiti Tun Hussein Onn Malaysia
  • Lin Pei-Chun Department of Information Engineering and Computer Science, Feng Chia University, No. 100 Wenhwa Rd., Taichung, TAIWAN
  • Syafikrudin Ismail Ladang Sungai Bekok, K/B No. 101, 86500 Bekok, Johor, MALAYSIA

Keywords:

Palm Oil Leaves, Convolutional Neural Network, Class Weights, Early Stopping

Abstract

Monitoring the health level of palm oil plants guarantees optimal production and quality oil yield. Experts have historically assessed plant health visually, but this method is limited by the number of samples that can be evaluated. Through automatic feature extraction, this study uses Convolutional Neural Networks (CNN) to classify nutrient deficiencies in oil palm leaves through leaf image analysis. Nevertheless, class imbalances in the dataset can lead to biased predictions. A CNN model with a class weight and an early stopping technique was developed to address this. A CNN model with three layers and a SoftMax activation function was trained over 200 epochs using Adam's optimizer and a categorical cross-entropy loss function to overcome this problem. According to the study, class weighting improves the classification accuracy of oil palm leaf photos. The classification accuracy of boron and potassium increased from 0.6119 to 0.7015 and 0.7500, respectively. However, magnesium classification still presents a challenge as accuracy drops to 0.4615, indicating the need for additional strategies to improve model performance across all nutrient classes.

Downloads

Download data is not yet available.

Downloads

Published

30-06-2025

Issue

Section

Articles

How to Cite

Arbaiy, N. ., Razali, M. N., Shukri Che Lah, M. ., Pei-Chun , L., & Syafikrudin Ismail. (2025). Classifying Nutrient Deficiencies in Palm Oil Leaves Using Convolutional Neural Network with Class Weights and Early Stopping Techniques. Journal of Soft Computing and Data Mining, 6(1), 308-318. https://penerbit.uthm.edu.my/ojs/index.php/jscdm/article/view/20346