Perbandingan Algoritma Random Forest dan Gradient Boosting dalam Klasifikasi Varietas Beras IR64 dan Logawa
Date
2026Jenis/Type
SkripsiSubtype
Undergraduate ThesesAuthor
KHAIRUNISSA, QONITA
Buono, Agus
Metadata
Show full item recordAbstract
Identifikasi varietas beras merupakan tantangan dalam pengendalian mutu, terutama untuk varietas dengan morfologi identik. IR64 dan Logawa merupakan dua varietas unggul Indonesia yang memiliki bentuk butir beras serupa (ramping dan kuning bersih) namun berbeda signifikan pada mutu tanak, dengan kadar amilosa masing-masing 24,1% (pulen) dan 26% (pera). Metode inspeksi visual konvensional terbukti kurang objektif, memakan waktu, dan rentan terhadap human error. Penelitian ini membandingkan dua algoritma machine learning, yaitu Random Forest dan Gradient Boosting pada empat kombinasi feature set yang memuat fitur morfologi, bentuk, dan warna hasil ekstraksi fitur. Dataset terdiri atas 1.000 citra hasil dokumentasi sampel beras yang berasal dari 10 penggilingan beras di Temanggung, Jawa Tengah. Evaluasi dilakukan menggunakan Leave-One-Out Cross Validation (LOOCV) dengan metrik accuracy, precision, recall, F1-score, confusion matrix, dan Cohen's Kappa Coefficient (?). Hasil terbaik dicapai oleh Gradient Boosting pada Kombinasi 3 dengan akurasi 85,30% dan nilai ? 0,706 (Good Harmony). Fitur warna terbukti menjadi pembeda utama antara kedua varietas, sementara fitur morfologi dan bentuk saja tidak memadai. Gradient Boosting secara konsisten mengungguli Random Forest pada seluruh kombinasi feature set. Rice variety identification is a challenge in quality control, particularly for varieties with identical morphology. IR64 and Logawa are two superior Indonesian rice varieties that share a similar grain shape (slender and clean yellow) but differ significantly in cooking quality, with amylose contents of 24.1% (soft/sticky) and 26% (dry/non-sticky), respectively. Conventional method with visual inspection have proven to be less objective, time-consuming, and prone to human error. This study compares two machine learning algorithms, namely Random Forest and Gradient Boosting, across four feature set combinations containing morphological, shape, and color features from feature extraction. The dataset consists of 1,000 images documenting rice samples collected from 10 rice mills in Temanggung, Central Java. Evaluation was conducted using Leave-One-Out Cross Validation (LOOCV) with accuracy, precision, recall, F1-score, confusion matrix, and Cohen's Kappa Coefficient (?) as metrics. The best results were achieved by Gradient Boosting on Combination 3, with an accuracy of 85,30% and a ? value of 0,706 (Good Harmony). Color features proved to be the primary distinguishing factor between the two varieties, while morphology and shape features alone were insufficient. Gradient Boosting consistently outperformed Random Forest across all feature set combinations.
Collections
- UF - Computer Science [198]

