Perbandingan Algoritma Machine Learning untuk Klasifikasi Kopi Menggunakan Data Sensor Electronic Nose dan Tongue
DOI:
https://doi.org/10.30865/jurikom.v13i1.9349Keywords:
Electronic Nose, Electronic Tongue, IQR, Moving Average, Coffee ClassificationAbstract
Coffee is a leading Indonesian commodity with a diversity of aromas and flavors influenced by variety and region of origin. However, the process of identifying and classifying coffee types is still often carried out conventionally through sensory testing, which is subjective, time-consuming, and dependent on panelist expertise. This situation encourages the need for a more objective and consistent automated approach based on sensor technology and machine learning. This study aims to compare the performance of several machine learning algorithms, namely Logistic Regression, Support Vector Classifier (SVC), and Random Forest, in classifying Indonesian coffee types using multisensor Electronic Nose and Electronic Tongue data. The data used comes from gas, temperature, and pH sensors with a total of 1,503 samples representing ten coffee classes. The preprocessing stage includes data cleaning using the Interquartile Range (IQR) method to remove outliers and noise reduction using the Moving Average method. The results show that the application of data cleaning and noise reduction significantly improves the performance of all classification models. Among the algorithms tested, Random Forest showed the most stable and superior performance in classifying coffee types. These findings confirm that the combination of appropriate data preprocessing and appropriate algorithm selection plays a crucial role in improving the accuracy of machine learning-based coffee classification systems.
References
[1] Yuli, “Produksi Kopi Indonesia dalam Dunia Internasional,” Indonesia Baik, 2025, Accessed: Nov. 02, 2025. [Online]. Available: https://indonesia.go.id/mediapublik/detail/2384
[2] N. Oktaviani et al., “Perubahan Iklim Mikro dan Produksi Kopi Arabika (Coffea arabica L.) pada Daerah Aktivitas Geothermal PLTP Kamojang di Kabupaten Bandung Microclimate change and arabica coffee (Coffea arabica L.) production in the geothermal activity area of the Kamojang GPP in Bandung Regency,” Jurnal Agrikultura, vol. 2024, no. 3, pp. 400–412, 2024.
[3] F. Adam, R. Agustina, and R. Fadhil, “Pengujian Cita Rasa Kopi Arabika Dengan Metode Cupping Test (Arabica Coffee Taste Testing With Cupping Test Method),” Jurnal Ilmiah Mahasiswa Pertanian, vol. 7, no. 1, 2022, [Online]. Available: www.jim.unsyiah.ac.id/JFP
[4] B. Sumanto, Abelta Mika Setiarini, Alfonzo Aruga Paripurna Barus, Iman Sabarisman, and Muhammad Arrofiq, “Pembelajaran Mesin Berbasis E-nose Untuk Klasifikasi Daging Pada Produk Sosis,” JST (Jurnal Sains dan Teknologi), vol. 13, no. 1, pp. 22–32, Apr. 2024, doi: 10.23887/jstundiksha.v13i1.70307.
[5] P. Kecerdasan, B. Dalam, M. Higienitas, P. ( Felix, K. Lie1, and A. Herwanto5, “Pemanfaatan Kecerdasan Buatan Dalam Meningkatkan Higienitas Pangan,” 2023.
[6] M. A. Barata, E. Noersasongko, Purwanto, and M. A. Soeleman, “Improving the Accuracy of C4.5 Algorithm with Chi-Square Method on Pure Tea Classification Using Electronic Nose,” Jurnal RESTI, vol. 7, no. 2, pp. 226–235, Apr. 2023, doi: 10.29207/resti.v7i2.4687.
[7] Wibowo Vadya Aryke, “STUDI PENGEMBANGAN E-TONGUE BERBASIS LIMA SENSOR ELEKTROKIMIA UNTUK KLASIFIKASI AIR MINUM,” 2025.
[8] D. Aulia, R. Sarno, S. C. Hidayati, A. N. Rosyid, and M. Rivai, “Identification of chronic obstructive pulmonary disease using graph convolutional network in electronic nose,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 34, no. 1, pp. 264–275, Apr. 2024, doi: 10.11591/ijeecs.v34.i1.pp264-275.
[9] A. Mujadin, S. Putra Rifaldi, O. Nur Samijayani, H. Suyono, A. Lastriyanto, and P. Teknik Elektro, “Pengujian Kemurnian Minyak Kayu Putih Berbasis Electronic Nose Menggunakan Metode PCA Dan Neural Network,” BULLET : Jurnal Multidisiplin Ilmu, 2024.
[10] S. Wakhid, R. Sarno, S. I. Sabilla, and D. B. Maghfira, “Detection and classification of indonesian civet and non-civet coffee based on statistical analysis comparison using E-Nose,” International Journal of Intelligent Engineering and Systems, vol. 13, no. 4, pp. 56–65, 2020, doi: 10.22266/IJIES2020.0831.06.
[11] W. Harsono, R. Sarno, and S. Izza Sabilla, “Recognition of Original Arabica Civet Coffee based on Odor using Electronic Nose and Machine Learning,” 2020.
[12] D. Bayu Magfira and R. Sarno, “CLASSIFICATION OF ARABICA AND ROBUSTA COFFEE USING ELECTRONIC NOSE,” 2018.
[13] Maria Ulfa, Haryanto, and Kunto Aji Wibisono, “Desain Sistem Pengenalan dan Klasifikasi Kopi Bubuk Bermerek dengan Menggunakan Electronic Nose Berbasis Artifical Neural Network (ANN),” J-Eltrik, vol. 1, no. 2, p. 15, Nov. 2021, doi: 10.30649/j-eltrik.v1i2.15.
[14] D. R. Wijaya, R. Sarno, and E. Zulaika, “Noise filtering framework for electronic nose signals: An application for beef quality monitoring,” Comput Electron Agric, vol. 157, pp. 305–321, Feb. 2019, doi: 10.1016/j.compag.2019.01.001.
[15] D. R. Prehanto, A. D. Indriyanti, I. K. D. Nuryana, and G. S. Permadi, “Classification based on K-Nearest Neighbor and Logistic Regression method of coffee using Electronic Nose,” IOP Conf Ser Mater Sci Eng, vol. 1098, no. 3, p. 032080, Mar. 2021, doi: 10.1088/1757-899x/1098/3/032080.
[16] S. Suhaila, D. Lelono, and Y. S. Sari, “Seleksi Fitur dengan Artificial Bee Colony untuk Optimasi Klasifikasi Data Teh menggunakan Support Vector Machine,” IJEIS (Indonesian Journal of Electronics and Instrumentation Systems), vol. 12, no. 1, p. 81, Apr. 2022, doi: 10.22146/ijeis.63902.
[17] Nimatul Mamuriyah, Richard, and Haeruddin, “IMPLEMENTATION MEAN IMPUTATION AND OUTLIER DETECTION FOR LOAN PREDICTION USING THE RANDOM FOREST ALGORITHM,” JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), vol. 10, no. 4, pp. 937–944, Jun. 2025, doi: 10.33480/jitk.v10i4.6437.
[18] S. Raharjo, L. Lestari, N. Hidayahtullah, and M. Yaqub Rijal, “PENERAPAN METODE SIMPLE MOVING AVERAGE DALAM MEMPERHALUS DIFRAKTOGRAM XRD SAMPEL NIKEL,” vol. 21, no. 01, pp. 5–13, 2025, doi: 10.62749/jaf.v21i01.p05-13.
[19] Z. Zulkifli and R. Fajri, “Klasifikasi Tingkat Kematangan Buah Strawberry Menggunakan Algoritma Logistic Regression,” Data Sciences Indonesia (DSI), vol. 4, no. 2, pp. 50–59, Dec. 2024, doi: 10.47709/dsi.v4i2.4850.
[20] D. I. Bagaskara, D. Syauqy, and B. H. Prasetio, “Sistem Klasifikasi Kualitas Air untuk Budidaya Ikan Nila Hitam (Oreochromis Niloticus) menggunakan Metode Support Vector Machine,” 2022. [Online]. Available: http://j-ptiik.ub.ac.id
[21] M. H. Madi, D. Syauqy, and W. Kurniawan, “Klasifikasi Kelayakan Konsumsi Susu Kedelai Berdasarkan PH, Warna, dan Aroma Menggunakan Metode Random Forest Berbasis Arduino,” 2025. [Online]. Available: http://j-ptiik.ub.ac.id



