Jurnal Teknik Informatika dan Teknologi Informasi
Vol. 5 No. 2 (2025): Agustus: Jurnal Teknik Informatika dan Teknologi Informasi

Sistem Rekomendasi Masakan Berdasarkan Ketersediaan Bahan Menggunakan Metode Content-Based Filtering dengan Algoritma K-Nearest Neighbors

Edwin Febrywinata (Universitas Muhammadiyah Ponorogo)
Rifqi Rahmatika Az-Zahra (Universitas Muhammadiyah Ponorogo)
Khoiru Nurfitri (Universitas Muhammadiyah Ponorogo)



Article Info

Publish Date
30 Aug 2025

Abstract

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.  

Copyrights © 2025






Journal Info

Abbrev

jutiti

Publisher

Subject

Computer Science & IT

Description

Jurnal Teknik Informatika dan Teknik Informasi (JUTITI) adalah jurnal ilmiah peer review yang diterbitkan oleh Politeknik Pratama. Jurnal Teknik Informatika dan Teknik Informasi (JUTITI) terbit dalam tiga edisi dalam setahun, yaitu edisi Februari, Juni dan Oktober. Kontributor Jurnal Teknik ...