EUVIMEDEUVIMED entdecken
Open Access · CC BY-SA 4.0

Two-Stage Transfer Learning with EfficientNetB0 for Four-Class Banana Ripeness Classification

Anhar Anhar, Farid Wajidi, Chairi Nur Insani

Edumatic: Jurnal Pendidikan Informatika · 2026

DOI: 10.29408/edumatic.v10i2.34588 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Edumatic: Jurnal Pendidikan Informatika, 2026. Verfasst von Anhar Anhar und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Manual visual inspection to assess banana ripeness is subjective and unable to meet the scale of industrial needs, while previous studies have used heavy CNN architectures and have not systematically explored the depth of fine-tuning. This study proposes a two-phase transfer learning framework using EfficientNetB0 on a pre-augmented dataset of 13.478 images across four ripeness classes: unripe, ripe, overripe, and rotten. Class imbalance is addressed through class weighting during training. In Phase 1 (Feature Extraction), all base layers are frozen, and the classification head is trained until it achieves a best validation accuracy of 98.58%. In Phase 2 (Fine-Tuning), the optimal unfrozen layer depth was determined through systematic ablation across five configurations (5, 10, 15, 20, and 25 layers), with the 25-layer configuration yielding the highest validation accuracy of 98.75%. Evaluation on 562 test images yielded an accuracy of 99.46% and a test loss of 0.0538, with an F1-score of 1.00 for the overripe and ripe classes, and 0.99 for the rotten and unripe classes. The ROC curve confirmed high discriminative capability with an AUC of 1.000 for the overripe and ripe classes, and 0.999 and 0.998 for the unripe and rotten classes. These results demonstrate that the combination of a two-phase strategy, depth ablation, and fine-tuning with class weights yields a robust classification system with potential for application in automated banana sorting using edge devices.

Zitieren

APA

Anhar, A., Wajidi, F., & Insani, C. N. (2026). Two-Stage Transfer Learning with EfficientNetB0 for Four-Class Banana Ripeness Classification. Edumatic: Jurnal Pendidikan Informatika. https://doi.org/10.29408/edumatic.v10i2.34588

Vancouver

Anhar A, Wajidi F, Insani CN. Two-Stage Transfer Learning with EfficientNetB0 for Four-Class Banana Ripeness Classification. Edumatic: Jurnal Pendidikan Informatika. 2026. doi:10.29408/edumatic.v10i2.34588

BibTeX
@article{Anhar2026,
  author = {Anhar, Anhar and Wajidi, Farid and Insani, Chairi Nur},
  title = {Two-Stage Transfer Learning with EfficientNetB0 for Four-Class Banana Ripeness Classification},
  journal = {Edumatic: Jurnal Pendidikan Informatika},
  year = {2026},
  doi = {10.29408/edumatic.v10i2.34588}
}
Kostenlos starten →