PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
December 19, 2025bit-Tech0 citationsOpen Access

Implementation of the KNN Algorithm for Food Recommendation System Based on Users' Nutritional Needs

View Full Paper
SRSilvia Mairiani RosdilillahASAkip Suhendar

Key Points

  • To develop a personalized food recommendation system using the KNN algorithm based on users' nutritional needs.
  • Developed a web-based food recommendation system.
  • Used KNN algorithm to analyze a food database.
  • Calculated users' nutritional needs using BMR and TDEE.
  • Incorporated user preference filtering for recommendations.
  • Evaluated the system through Black Box Testing.
  • System confirmed functionality of main features via testing.
  • KNN algorithm provided relevant food recommendations.
  • User satisfaction and recommendation accuracy validated the system's performance.

Abstract

This study develops a web-based food recommendation system using the K-Nearest Neighbors (KNN) algorithm to provide personalized food recommendations based on users' nutritional needs and preferences. Many individuals struggle to create balanced diets due to insufficient knowledge or time, which can lead to malnutrition or obesity. To address this, the system calculates users' nutritional needs using Basal Metabolic Rate (BMR) and Total Daily Energy Expenditure (TDEE), incorporating preference filtering provided by users. The KNN algorithm then analyzes a food database to identify items that best match the users' nutritional profiles. The system features two primary interfaces: a user interface for inputting nutritional data and displaying recommendations, and an administrative interface for managing food data, user information, and recommendation history. The system was evaluated through Black Box Testing, which confirmed that all main features function as intended. The KNN algorithm demonstrated effectiveness by providing relevant food recommendations that align with users' individual nutritional requirements. Key evaluation metrics, such as recommendation accuracy and user satisfaction, validate the system's performance. This approach highlights the system’s potential in offering personalized nutrition advice, with a focus on real-time decision-making. Future work will aim to incorporate additional dietary factors and expand the food database to enhance the system’s adaptability and precision.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Rosdilillah et al. (2025) studied this question.

synapsesocial.com/papers/69449a892f0218eca9508314https://doi.org/10.32877/bt.v8i2.3449
Ask AI
Helpful
Bookmark
Share
View Full Paper