Claim Missing Document
Check
Articles

Found 1 Documents
Search

Aplikasi Segmentasi Jenis Makanan Berdasarkan Kandungan Gizi Menggunakan Algoritma K-Means Mardianti, Valentina Gracia; Hadist, Hadist; Charles, Kristian; Muhammad Maulana; Weisky Steven Dharmawan
TAMIKA: Jurnal Tugas Akhir Manajemen Informatika & Komputerisasi Akuntansi Vol 6 No 1 (2026): TAMIKA: Jurnal Tugas Akhir Manajemen Informatika & Komputerisasi Akuntansi
Publisher : Universitas Methodist Indonesia

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.46880/tamika.Vol6No1.pp35-41

Abstract

Public understanding of food nutrition remains limited due to the lack of accessible educational tools. This study aims to develop a web-based food segmentation system capable of clustering food items based on their nutritional characteristics using the K-Means algorithm. The research employs the Food Composition Dataset, focusing on key attributes including nitrogen factor, fat factor, and specific gravity. The methodology consists of data preprocessing, determining the optimal number of clusters using the Elbow Method, and visualizing the clustering outcomes through Principal Component Analysis (PCA). The results indicate that the optimal number of clusters is K = 3, with clear separation demonstrated by PCA, which shows an explained variance of 82%. The resulting clusters represent groups of foods with similar nutritional profiles, such as high-protein, high-fat, or high-density items. The clustering results were implemented into an interactive Streamlit-based web application, allowing users to explore and interpret the segmentation results easily. The study concludes that the K-Means algorithm is effective for grouping foods based on nutritional attributes, and the developed system can serve as a practical tool for nutritional education and balanced diet analysis.