UNTARA, MUHAMMAD RIFKY (2025) IMPLEMENTASI KLASIFIKASI DAN PREDIKSI KESEGARAN SAYURAN MENGGUNAKAN HYBRID CNN-LSTM DENGAN TRANSFER LEARNING EFFICIENTNET-B0. S1 thesis, Universitas Mercu Buana Jakarta.
|
Text (HAL COVER)
01 COVER.pdf Download (554kB) | Preview |
|
|
Text (BAB I)
02 BAB 1.pdf Restricted to Registered users only Download (99kB) |
||
|
Text (BAB II)
03 BAB 2.pdf Restricted to Registered users only Download (178kB) |
||
|
Text (BAB III)
04 BAB 3.pdf Restricted to Registered users only Download (165kB) |
||
|
Text (BAB IV)
05 BAB 4.pdf Restricted to Registered users only Download (206kB) |
||
|
Text (BAB V)
06 BAB 5.pdf Restricted to Registered users only Download (68kB) |
||
|
Text (DAFTAR PUSTAKA)
07 DAFTAR PUSTAKA.pdf Restricted to Registered users only Download (83kB) |
||
|
Text (LAMPIRAN)
08 Lampiran.pdf Restricted to Registered users only Download (240kB) |
Abstract
Indonesia has 23–48 million tonnes of food loss and waste (FLW) annually, resulting in economic losses of 213-551 trillion rupiah (4-5% of GDP) and contributing 7.29% to national greenhouse gas emissions. A primary cause is the subjective and inconsistent manual inspection of vegetable freshness in distribution facilities. The goal of this study is to create a Deep Learning model for vegetable freshness classification and degradation scale prediction using a hybrid CNN-LSTM architecture. The model employs EfficientNet-B0 with ImageNet transfer learning as a feature extractor, followed by an LSTM layer that serves as an additional non-linear transformation over the extracted features, producing three outputs: vegetable type classification (6 classes), freshness condition classification (Fresh, Moderately Fresh, Wilted), and freshness degradation scale prediction (0-1). The methodology includes oversampling for class imbalance (Wilted 1.5x, Moderately Fresh 1.2x), Focal Loss with class weights for hard examples, real-time data augmentation (geometric + color transformations, cutout, JPEG quality variation), and two-stage training (frozen base + fine-tuning). The dataset consists of 1,080 original images (1,440 after minority-class oversampling) of Indonesian local vegetables, split into 80% for training and 20% for validation (stratified split). The evaluation results indicate that the model attains 96.5% accuracy in condition classification, with 96% precision, 97% recall, and a 97% F1-score. Threshold optimization improves Wilted class recall from 89% to 96%. Research contributions encompass the development of a hybrid CNN-LSTM architecture for multi-task classification (vegetable type and freshness condition) alongside freshness degradation scale prediction, the validation of transfer learning and data augmentation efficacy on constrained datasets, and the establishment of a framework for automated quality control systems that can diminish food loss and waste by 20-30% in vegetable distribution facilities. Keywords: Deep Learning, CNN-LSTM Hybrid, Transfer Learning, EfficientNet, Vegetable Freshness Classification, Freshness Degradation Scoring, Food Loss and Waste Kehilangan dan Pemborosan Makanan (FLW) di Indonesia mencapai 23-48 juta ton per tahun dengan kerugian ekonomi 213-551 triliun rupiah (4-5% PDB), juga memainkan peran 7,29% dalam emisi gas rumah kaca nasional. Salah satu penyebab utama adalah inspeksi manual kesegaran sayuran yang subjektif dan tidak konsisten di fasilitas distribusi. Penelitian ini bertujuan membuat model Deep Learning yang menggunakan kombinasi arsitektur CNN dan LSTM untuk mengklasifikasikan jenis dan kondisi kesegaran sayuran serta memprediksi skala degradasinya. Model menggunakan EfficientNet-B0 dan transfer learning ImageNet sebagai feature extractor, dilanjutkan dengan lapisan LSTM yang berfungsi sebagai transformasi non-linear tambahan atas fitur yang diekstraksi. Tiga output dihasilkan: klasifikasi jenis sayuran (6 kelas), klasifikasi kondisi kesegaran (Segar, Kurang Segar, Layu), dan prediksi skala degradasi kesegaran (0-1). Metodologi mencakup oversampling untuk class imbalance (Layu 1.5x, Kurang Segar 1.2x), Focal Loss dengan class weights untuk hard examples, augmentasi data real-time (geometric + color transformations, cutout, JPEG quality variation), dan two-stage training (frozen base + fine-tuning). Dataset terdiri dari 1.080 gambar asli (1.440 setelah oversampling kelas minoritas) sayuran lokal Indonesia, dibagi 80% data latihan dan 20% data validasi (stratified split). Hasil evaluasi menunjukkan model mencapai akurasi 96,5% untuk klasifikasi kondisi dengan tingkat ketepatan 96 persen, tingkat recall 97 persen, dan skor F1 97 persen. Threshold optimization meningkatkan recall kelas Layu dari 89% menjadi 96%. Kontribusi penelitian meliputi pengembangan arsitektur hybrid CNN-LSTM untuk klasifikasi multi-task (jenis dan kondisi kesegaran) sekaligus prediksi skala degradasi kesegaran sayuran, validasi efektivitas transfer learning dan augmentasi data pada dataset terbatas, serta penyediaan foundation untuk sistem automated quality control yang dapat mengurangi FLW hingga 20- 30% di fasilitas distribusi sayuran. Kata Kunci: Deep Learning, CNN-LSTM Hybrid, Transfer Learning, EfficientNet, Klasifikasi Kesegaran Sayuran, Prediksi Skala Degradasi, Food Loss and Waste
Actions (login required)
![]() |
View Item |
