Sistem Rekomendasi Masakan Berdasarkan Ketersediaan Bahan Menggunakan Metode Content-Based Filtering dengan Algoritma K-Nearest Neighbors
DOI:
https://doi.org/10.55606/jutiti.v5i2.5690Keywords:
Content Filtering, Cosine Similarity, KNN Algorithm, Utilization Of MaterialsAbstract
In daily life, many individuals have difficulty in determining a menu of dishes that match the ingredients available at home. This research aims to develop a web-based cooking recipe recommendation system that is able to provide relevant recipe suggestions based on ingredient input from users. The system is designed by combining the Content-Based Filtering method and the K-Nearest Neighbors (KNN) algorithm to improve the accuracy and relevance of recommendations. Feature representation is performed using the Term Frequency-Inverse Document Frequency (TF-IDF) method to convert the list of materials into a numerical vector form. The measurement of similarity between ingredients and recipes was carried out using the Cosine Similarity approach, while the selection of the best recipe used the top-k technique based on the KNN algorithm. The system was tested against 10 different material input scenarios, and the evaluation results showed that the system had an accuracy rate of 80%, precision of 80%, recall of 100%, and an F1-score of 89%. These findings show that the developed recommendation system is effective in helping users choose recipes that match the available ingredients, as well as potentially reducing food waste. In addition, this system can be a practical solution in supporting the efficiency of household kitchens and encouraging optimal use of materials. Thus, the system has the potential to be further developed and integrated in a digital platform that supports a sustainable lifestyle.
Downloads
References
Almas, L. Z., Susanti, Y., & Handajani, S. S. (2024). Penerapan Algoritma K-Nearest Neighbors dalam Sistem Rekomendasi Makanan Berdasarkan Kebutuhan Nutrisi dengan Content-Based Filtering. Statistika, 24(1), Article 1. https://doi.org/10.29313/statistika.v24i1.3558
Aulia, R., Achmady, S., & Razi, Z. (2024). Pengembangan web pencarian resep masakan dengan fitur rekomendasi berbasis algoritma machine learning di Provinsi Aceh. Jurnal Literasi Informatika, 3(4), Article 4. https://journal.unigha.ac.id/index.php/JLI/article/view/2745
Az-Zahra. (n.d.). Jurnal Riset dan Aplikasi Mahasiswa Informatika (JRAMI). Retrieved July 31, 2025, from https://jim.unindra.ac.id/index.php/jrami/article/view/8670
Deteksi Kemiripan Dokumen Menggunakan Cosine Similarity Berdasarkan Representasi Teks Count Vectorizer Dan TF IDF | Pradana | Indonesian Journal of Business Intelligence (IJUBI). (n.d.). Retrieved May 23, 2025, from https://ejournal.almaata.ac.id/index.php/IJUBI/article/view/5170
Dibimbing.id—Data Set: Pengertian, Jenis, dan Contohnya. (n.d.). Retrieved May 23, 2025, from https://dibimbing.id/blog/detail/pengertian-data-sheet-jenis-dan-contoh
Journal.umpo.ac.id/index.php/JRTK/article/view/6454. (n.d.). Retrieved July 31, 2025, from https://journal.umpo.ac.id/index.php/JRTK/article/view/6454
Larasati, F. B. A., & Februariyanti, H. (2021). Sistem rekomendasi produk Emina cosmetics dengan menggunakan metode content-based filtering. Jurnal Manajemen Informatika Dan Sistem Informasi, 4(1), Article 1. https://doi.org/10.36595/misi.v4i1.250
Maulidah, N., Diantika, S., Nalatissifa, H., Fauzi, A., & Supriyadi, R. (2024a). Penerapan extreme programming dan Flutter dalam mobile application Jago Masak sebagai sistem pencarian resep masakan. JEKIN - Jurnal Teknik Informatika, 4(2), Article 2. https://doi.org/10.58794/jekin.v4i2.718
Maulidah, N., Diantika, S., Nalatissifa, H., Fauzi, A., & Supriyadi, R. (2024b). Penerapan extreme programming dan Flutter dalam mobile application Jago Masak sebagai sistem pencarian resep masakan. JEKIN - Jurnal Teknik Informatika, 4(2), Article 2. https://doi.org/10.58794/jekin.v4i2.718
Nuryadin, R. A., Az-Zahra, R. R., & Wirawanto, Y. (2024). Implementasi selection sort untuk pengurutan surat keluar pada website sistem informasi Desa Tugu Mlarak. JATI (Jurnal Mahasiswa Teknik Informatika), 8(5), Article 5. https://doi.org/10.36040/jati.v8i5.10959
Penerapan Algoritma TF-IDF dan Cosine Similarity untuk Query Pencarian Pada Dataset Destinasi Wisata | Jurnal JTIK (Jurnal Teknologi Informasi dan Komunikasi). (n.d.). Retrieved May 23, 2025, from https://journal.lembagakita.org/jtik/article/view/1416
Priskila, R., Sari, N. N. K., & Putra, P. B. A. A. (2024). Implementasi content-based filtering menggunakan TF-IDF and cosine similarity untuk sistem rekomendasi resep masakan. Jurnal Teknologi Informasi: Jurnal Keilmuan Dan Aplikasi Bidang Teknik Informatika, 18(1), Article 1. https://doi.org/10.47111/jti.v18i1.12543
Rekomendasi resep masakan sehat berbasis mobile untuk meningkatkan imunitas tubuh selama pandemi | Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer. (n.d.). Retrieved May 23, 2025, from https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/9425
Sistem rekomendasi kuliner Semarang berbasis web mobile (E-SEMAR) | Argenza | JIPETIK: Jurnal Ilmiah Penelitian Teknologi Informasi & Komputer. (n.d.). Retrieved May 22, 2025, from https://journal.upgris.ac.id/index.php/jipetik/article/view/7946
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Jurnal Teknik Informatika dan Teknologi Informasi

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.