Claim Missing Document
Check
Articles

Found 1 Documents
Search

Comparison of Balancing Strategies for Classifying Guava Fruit Diseases Putri Nabilla; Nana Suarna; Agus Bahtiar; Nining Rahaningsih; Willy Prihartono
Journal of Artificial Intelligence and Engineering Applications (JAIEA) Vol. 5 No. 2 (2026): February 2026
Publisher : Yayasan Kita Menulis

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.59934/jaiea.v5i2.1859

Abstract

The problem of class imbalance often poses an obstacle in deep learning-based image classification, especially in the domain of digital agriculture. The imbalance in data distribution makes it easier for models to recognize the majority class, while performance for the minority class declines. This study aims to analyze the effectiveness of three strategies for handling class imbalance: Weighted Loss Function, Oversampling, and a combination of Weighted Loss and Oversampling, in improving the performance of image classification of guava fruit diseases using a transfer learning-based MobileNetV2 architecture. The dataset consists of 3,784 images of three disease classes, namely Anthracnose, Fruit_Fly, and Healthy_guava, which show an imbalanced distribution. The research was conducted through the stages of Exploratory Data Analysis (EDA), pre-processing, augmentation, model training with four scenarios, and evaluation using Accuracy, Precision, Recall, F1-Score, and Macro Average F1-Score. The results showed that the Combination model (Oversampling and Weighted Loss) performed best on the minority class with an F1-score of 0.9630, the highest among all models. The Oversampling strategy produced the highest Macro F1-score of 0.9617, while Weighted Loss provided a significant improvement in classification sensitivity but was still below the combination model. Thus, it can be concluded that the combination strategy is the most effective approach in improving the sensitivity of the model to minority classes, while Oversampling excels in the overall performance stability of the model.