Claim Missing Document
Check
Articles

Found 2 Documents
Search

EVALUASI DENSENET-201 UNTUK IDENTIFIKASI BIJI KOPI MENGGUNAKAN HYPERPARAMETER GRIDSEARCH Manza, Yuke; Rambe, Lima Hartimar; Siregar, Kiki Putri Ani; Rosnelly, Rika; Setiawan, Adil
JOURNAL OF SCIENCE AND SOCIAL RESEARCH Vol 8, No 3 (2025): August 2025
Publisher : Smart Education

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.54314/jssr.v8i3.3898

Abstract

Abstract: Coffee is one of the most important commodities in the global agricultural sector. However, the manual sorting process of coffee beans, which is still widely applied in the Small and Medium Industry (IKM) sector, tends to be time-consuming and often results in inconsistent quality assessments. This study aims to classify coffee bean quality using the DenseNet-201 deep learning architecture, optimized with the GridSearch method to obtain the best combination of hyperparameters. The dataset used consists of 450 images of coffee beans divided into two classes: good-quality and defective beans. The model was trained for 20 epochs using a transfer learning approach and evaluated using performance metrics such as accuracy, precision, recall, and F1-score. The test results show that the model before optimization achieved an accuracy of only 78.67%, while the model optimized with GridSearch reached a high accuracy of 99.47% with a low loss value. These findings indicate that the application of DenseNet-201 with hyperparameter tuning is capable of producing accurate and stable classification results, and can be relied upon as an automated solution for sorting coffee beans based on their quality. Keywords: Deep Learning, DenseNet201, Hyperparameter, GridSearch, Coffee Bean Classification Abstrak: Kopi merupakan salah satu komoditas penting dalam sektor pertanian global. Namun, proses pemilahan biji kopi secara manual yang masih banyak diterapkan pada sektor Industri Kecil dan Menengah (IKM) cenderung memakan waktu dan menghasilkan penilaian kualitas yang tidak konsisten. Penelitian ini bertujuan untuk mengklasifikasikan kualitas biji kopi menggunakan arsitektur Deep Learning DenseNet-201 yang dioptimalkan dengan metode GridSearch untuk memperoleh kombinasi hyperparameter terbaik. Dataset yang digunakan terdiri dari 450 gambar biji kopi dengan dua kelas: biji kopi bagus dan biji kopi rusak. Model dilatih selama 20 epoch dengan pendekatan transfer learning dan dilakukan evaluasi terhadap performa model menggunakan metrik akurasi, precision, recall, dan f1-score. Hasil pengujian menunjukkan bahwa model sebelum optimasi hanya mencapai akurasi sebesar 78,67%, sedangkan model dengan optimasi GridSearch mampu mencapai akurasi tinggi sebesar 99,47% dan nilai loss yang rendah. Hal ini menunjukkan bahwa penerapan DenseNet-201 dengan tuning hyperparameter mampu menghasilkan klasifikasi yang akurat dan stabil, serta dapat diandalkan sebagai solusi otomatis dalam proses sortasi biji kopi berdasarkan kualitasnya. Kata kunci: Deep Learning, DenseNet201, Hyperparameter, GridSearch, Klasifikasi Biji Kopi
KLASIFIKASI BIJI KOPI MENGGUNAKAN TEKNIK KOMBINASI RANDOM FOREST DAN INCEPTION V3 UNTUK EKSTRAKSI FITUR Rambe, Lima Hartimar; Manza, Yuke; Ashari, Annisa; Negoro, Wahyu Saptha
JOURNAL OF SCIENCE AND SOCIAL RESEARCH Vol 8, No 3 (2025): August 2025
Publisher : Smart Education

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.54314/jssr.v8i3.3976

Abstract

Abstract: Coffee bean classification is a crucial step in ensuring the quality and selling value of coffee products. Manual sorting methods are often inefficient and error-prone, necessitating a technology-based automated approach. This study proposes a combination of the Inception V3 architecture as an image feature extraction method and the random forest algorithm as a classifier to distinguish good and defective coffee beans. The dataset used consists of 986 images, divided into training and test data. The processing was carried out using the Orange Data Mining platform, which includes pre-processing, feature extraction, model training, and performance evaluation. The evaluation results show that the model produces an accuracy of 96.4% on the training data and 96.8% on the test data. In addition, other performance metrics such as AUC (1.000), F1-score (0.967), precision (0.968), recall (0.968), and MCC (0.922) strengthen the model's excellent classification performance. Thus, the combined approach of Inception V3 and random forest is proven effective and has the potential to be implemented in a digital image-based coffee bean classification system. Keywords: Coffee Bean Classification, Random Forest, Inception V3, Feature Extraction, Digital Imagery Abstrak: Klasifikasi biji kopi merupakan langkah penting dalam menjamin mutu dan nilai jual produk kopi. Metode manual dalam penyortiran sering kali tidak efisien dan rentan kesalahan, sehingga dibutuhkan pendekatan otomatis berbasis teknologi. Penelitian ini mengusulkan kombinasi arsitektur Inception V3 sebagai metode ekstraksi fitur citra dan algoritma random forest sebagai klasifikator untuk membedakan biji kopi bagus dan rusak. Dataset yang digunakan terdiri dari 986 gambar, terbagi menjadi data latih dan data uji. Proses pengolahan dilakukan menggunakan platform Orange Data Mining, yang meliputi tahap pra-pemrosesan, ekstraksi fitur, pelatihan model, dan evaluasi kinerja. Hasil evaluasi menunjukkan bahwa model menghasilkan akurasi sebesar 96,4% pada data latih dan 96,8% pada data uji. Selain itu, metrik performa lain seperti AUC (1.000), F1-score (0.967), precision (0.968), recall (0.968), dan MCC (0.922) memperkuat bahwa model ini memiliki kinerja klasifikasi yang sangat baik. Dengan demikian, pendekatan kombinasi Inception V3 dan random forest terbukti efektif dan berpotensi diimplementasikan dalam sistem klasifikasi biji kopi berbasis citra digital. Kata kunci: Klasifikasi Biji Kopi, Random Forest, Inception V3, Ekstraksi Fitur, Citra Digital