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
PREDIKSI PENJUALAN SUPERMARKET MENGGUNAKAN JARINGAN SYARAF TIRUAN LONG SHORT-TERM MEMORY (LSTM) Rambe, Lima Hartimar; Manza, Yuke; Siregar, Kiki Putri Ani; Roslina, Roslina
JOURNAL OF SCIENCE AND SOCIAL RESEARCH Vol 9, No 1 (2026): February 2026
Publisher : Smart Education

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

Abstract

Abstract: Sales forecasting is a crucial aspect of supermarket operations, as it supports inventory management, production planning, and strategic decision-making. Sales data typically exhibit complex patterns such as trends, seasonality, and fluctuations, requiring modeling methods capable of handling nonlinear time-series characteristics. This study employs the Long Short-Term Memory (LSTM) model, an advanced form of Recurrent Neural Network (RNN) designed to capture long-term dependencies and overcome the vanishing gradient problem. The secondary dataset was obtained from the Kaggle platform, consisting of 20 features and a total of 1,000 records. The LSTM model was constructed using 50 neurons in the LSTM layer and a single dense output layer. Training was conducted for 100 epochs using the Adam optimizer and Mean Squared Error (MSE) as the loss function. The training process showed a consistent decrease in loss, reaching approximately 0.0193, while evaluation using Root Mean Squared Error (RMSE) indicated that the model effectively learned historical patterns. Visualization of predictions on the test dataset demonstrated that the model successfully followed sales trends, although it was less responsive to extreme fluctuations. Overall, the LSTM model proved effective for daily sales forecasting and can serve as a valuable tool for operational planning in supermarkets. Keywords: LSTM, Sales Forecasting, Time Series, Deep Learning, RMSE, Supermarket. Abstrak: Peramalan penjualan merupakan aspek penting dalam operasional supermarket karena berperan besar dalam pengelolaan inventaris, perencanaan produksi, serta pengambilan keputusan strategis. Data penjualan umumnya memiliki pola tren, musiman, dan fluktuasi yang kompleks sehingga memerlukan metode pemodelan yang mampu menangani karakteristik deret waktu nonlinear. Penelitian ini menggunakan model Long Short-Term Memory (LSTM), sebuah pengembangan Recurrent Neural Network (RNN) yang efektif dalam menangkap dependensi jangka panjang dan mengatasi masalah vanishing gradient. Data sekunder diperoleh dari platform Kaggle dengan 20 fitur dan total 1.000 record. Model LSTM dibangun menggunakan 50 unit neuron pada lapisan LSTM dan satu lapisan dense sebagai output. Model dilatih selama 100 epoch menggunakan optimizer Adam dan fungsi loss MSE. Hasil pelatihan menunjukkan penurunan loss yang stabil hingga mencapai nilai sekitar 0,0193, sedangkan evaluasi menggunakan Root Mean Squared Error (RMSE) menunjukkan bahwa model mampu mempelajari pola historis dengan baik. Visualisasi prediksi pada data pengujian memperlihatkan bahwa model mampu mengikuti tren pergerakan penjualan meskipun masih kurang responsif terhadap fluktuasi ekstrem. Secara keseluruhan, model LSTM terbukti efektif dalam memprediksi penjualan harian dan dapat digunakan sebagai dasar pengambilan keputusan dalam perencanaan operasional supermarket. Kata kunci: LSTM, Peramalan Penjualan, Deret Waktu, Deep Learning, RMSE, Supermarket.