Classification of Defects in Arabica Coffee Beans Using the KNN (K-Nearest Neighbor) Method in the Gayo Farming Cooperative, Bebeseb District, Central Aceh

Khairunnisa Khairunnisa, Martiano Martiano

Abstract


This study examines the classification of defects in Arabica coffee beans using the K-Nearest Neighbor (KNN) method at the Koperasi Usaha Tani Gayo, Aceh Tengah. Arabica coffee, with its high economic value, is often subjectively evaluated by farmers using their senses, which is less effective. Therefore, this research employs the KNN method to enhance the accuracy of defect classification in coffee beans. The KNN method, a supervised algorithm, classifies objects based on the categories of their nearest neighbors. This study utilizes color digital images processed with web-tools Teachable Machine and the MNIST dataset. The dataset is divided into three parts: training, validation, and testing. Defect images of coffee beans are classified into 16 classes, such as Full Sour Bean, Full Black Bean, and others. Evaluation shows that the KNN model has high accuracy in classifying coffee bean defects, although it requires significant computational time. The research results are implemented in a mobile application based on Flutter and the Dart programming language, simplifying the process of classifying Arabica coffee bean defects at the Koperasi Tani Gayo, enhancing the quality and efficiency of coffee bean determination.


Keywords


Defect classification; Arabica coffee beans; K-Nearest Neighbor (KNN); digital image; Teachable Machine; MNIST dataset.

Full Text:

15-24 PDF

References


Ariska, D. M., Astuti, I. F., & Agus, F. (2024). Rancangan dan Implementasi Sistem Pendukung Keputusan Pemilihan Bibit Tanaman Karet. IKRA-ITH Informatika : Jurnal Komputer Dan Informatika, 8(2), 82–91. https://doi.org/10.37817/ikraith-informatika.v8i2.2961

Chazar, C., & Rafsanjani, M. H. (2022). Penerapan Teachable Machine Pada Klasifikasi Machine Learning Untuk Identifikasi Bibit Tanaman. Prosiding Seminar Nasional Inovasi Dan Adopsi Teknologi (INOTEK), 2(1), 32–40. https://doi.org/10.35969/inotek.v2i1.207

Napoli, C. (2019). Beginning Flutter: A hands on guide to app development. Apress.

Sari, I.P., Hariani, P.P., Al-Khowarizmi, A., Ramadhani, F., Sulaiman, O.K., Satria, A, & Manurung, A.A. (2024). CLUSTERING HIV/AIDS DISEASE USING K-MEANS CLUSTERING ALGORITHM. Proceeding International Seminar on Islamic Studies 5 (1), 1668-1676

Fichri, M., Ramadhan, A., Arsyad, F., & Jumaryadi, Y. (2022). Implementasi Simple Additive Weighting Dalam Menentukan Biji Kopi Terbaik. Journal of Information System Research (JOSH), 3(3), 234–241. https://doi.org/10.47065/josh.v3i3.1505

Juliaviani, N., Sahara, S., & Winandi, R. (2017). Transmission Price of Gayo Arabica Coffee In Aceh Province. Jurnal Agribisnis Indonesia, 5(1), 39.

Sulaiman, O.K & Batubara, I.H. (2021). Implementation Data Mining For Level Analysis Traffic Violation By Algorithm Association Rule. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal 2 (2), 128-135

Sari, I.P., Ramadhani, F., Satria, A., & Sulaiman, O.K. Leukocoria Identification: A 5-Fold Cross Validation CNN and Adaboost Hybrid Approach. 2023 6th International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), 486-491

Manurung, A.A., Nasution, M.D., & Sari, I.P. (2023). Implementation of Fuzzy K-Nearest Neighbor Method in Dengue Disease Classification. 2023 11th International Conference on Cyber and IT Service Management (CITSM), 1-4

Giordano, A. (2019). Flutter Projects: A practical, project-based guide to building real-world cross-platform mobile applications and games. Packt Publishing.

Kurosaki, K. (2020). Mastering Flutter: A step-by-step guide to designing and building Flutter apps. Independently published.

Sari, I.P., Ramadhani, F., Satria, A., & Apdilah, D. (2023). Implementasi Pengolahan Citra Digital dalam Pengenalan Wajah menggunakan Algoritma PCA dan Viola Jones. Hello World Jurnal Ilmu Komputer 2 (3), 146-157

Mahendra, A. A., Suranti, D., & Fredricka, J. (2023). Sistem Pendukung Keputusan Calon Penerima BPJS-PBI Pada Dinas Sosial Kota Bengkulu Menggunakan Metode K-Nearest Neighbor (KNN). Jurnal Media Infotama, 19(2), 391–400. https://doi.org/10.37676/jmi.v19i2.4290

Raup, A., Ridwan, W., Khoeriyah, Y., Supiana, S., & Zaqiah, Q. Y. (2022). Deep Learning dan Penerapannya dalam Pembelajaran. JIIP - Jurnal Ilmiah Ilmu Pendidikan, 5(9), 3258–3267. https://doi.org/10.54371/jiip.v5i9.805

Sari, I.P., Al-Khowarizmi, A, Sulaiman, O.K., & Apdilah, D. (2023). Implementation of Data Classification Using K-Means Algorithm in Clustering Stunting Cases. Journal of Computer Science, Information Technology and Telecommunication Engineering 4 (2), 402-412

Apdilah, D., & Sari, I.P. (2021). Optimization Of The Fuzzy C-Means Cluster Center For Credit Data Grouping Using Genetic Algorithms. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal 2 (2), 156-163

Rezky Firmansyah. 2021. IMPLEMENTASI DEEP LEARNING MENGGUNAKAN CONVOLUTIONAL NEURAL NETWORK UNTUK KLASIFIKASI BUNGA. Skripsi. UNIVERSITAS ISLAM NEGERI SYARIF HIDAYATULLAH JAKARTA

Sari, I.P., Batubara, I.H., & Al-Khowarizmi, A. (2021). Sensitivity Of Obtaining Errors In The Combination Of Fuzzy And Neural Networks For Conducting Student Assessment On E-Learning. International Journal of Economic, Technology and Social Sciences (Injects) 2 (1), 331-338

Tolana, F., Muzakkir, I., & Riadi, A. (2023). Metode K-Nearest Neighbor (KNN) Untuk Sistem Pakar Diagnosa Penyakit Pneumonia Pada Balita. Jurnal Nasional Komputasi Dan Teknologi Informasi, 6(3), 363–373.

Varian, M. A. (2017). Analisa karakteristik kopi arabika dan metode penjemuran terhadap citarasa kopi arabika menggunakan analisa varian. 14–36.

Sari, I.P., Al-Khowarizmi, A., & Batubara, I.H. (2021). Cluster Analysis Using K-Means Algorithm and Fuzzy C-Means Clustering For Grouping Students' Abilities In Online Learning Process. Journal of Computer Science, Information Technology and Telecommunication Engineering 2 (1), 139-144

Yuhandri, Y., Ramadhanu, A., & Syahputra, H. (2022). Pengenalan Teknologi Pengolahan Citra Digital (Digital Image Processing) Untuk Santri Di Rahmatan Lil’Alamin International Islamic Boarding School. Community Development Journal : Jurnal Pengabdian Masyarakat, 3(2), 1239–1244. https://doi.org/10.31004/cdj.v3i2.5868

Biessek, M. (2019). Flutter for Beginners: An introductory guide to building cross-platform mobile applications with Flutter and Dart 2. Packt Publishing.

Indah Purnama Sari. Algoritma dan Pemrograman. Medan: UMSU Press, 2023, pp. 290.

Indah Purnama Sari. Buku Ajar Rekayasa Perangkat Lunak. Medan: UMSU Press, 2021, pp. 228.

Janner Simarmata Arsan Kumala Jaya, Syarifah Fitrah Ramadhani, Niel Ananto, Abdul Karim, Betrisandi, Muhammad Ilham Alhari, Cucut Susanto, Suardinata, Indah Purnama Sari, Edson Yahuda Putra. Komputer dan Masyarakat. Medan: Yayasan Kita Menulis, 2024, pp.162.

Mahdianta Pandia, Indah Purnama Sari, Alexander Wirapraja Fergie Joanda Kaunang, Syarifah Fitrah Ramadhani Stenly Richard Pungus, Sudirman, Suardinata Jimmy Herawan Moedjahedy, Elly Warni, Debby Erce Sondakh. Pengantar Bahasa Pemrograman Python. Medan : Yayasan Kita Menulis, 2024, pp.180

Zelvi Gustiana Arif Dwinanto, Indah Purnama Sari, Janner Simarmata Mahdianta Pandia, Supriadi Syam, Semmy Wellem Taju Fitrah Eka Susilawati, Asmah Akhriana, Rolly Junius Lontaan Fergie Joanda Kaunang. Perkembangan Teknologi Informatika. Medan: Yayasan Kita Menulis, 2024, pp.158


Refbacks

  • There are currently no refbacks.



Indonesian Journal of Applied Technology, Computer and Science [IJATCos]

Universitas Muhammadiyah Sumatera Utara
Kampus Utama
Jl. Kapten Muchtar Basri No.3, Glugur Darat II,Medan
Sumatera Utara-20238
E-mail: ijatcos@umsu.ac.id


Creative Commons License
Creation is distributed under the Creative Commons Attribution-ShareAlike 4.0 International License