Satrio Miftachul Choiri
Pamulang University

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Implementation of the K-Nearest Neighbor (KNN) Algorithm for Website-Based Coffee Recommendations Based on Customer Preference Profiles (Case Study: 5CM Coffee and Eatery) Satrio Miftachul Choiri; Achmad Nur Sholeh
Jurnal Teknologi Informasi Universitas Lambung Mangkurat (JTIULM) Vol. 11 No. 2 (2026)
Publisher : Fakultas Teknik Universitas Lambung Mangkurat

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.20527/jtiulm.v11i2.530

Abstract

Menu selection at 5CM Coffee and Eatery is still carried out manually by the barista, so signature drink suggestions vary between staff and become inconsistent during busy hours, especially as the growing menu variety leads to customer choice overload. This study implements a website-based coffee recommendation system using the K-Nearest Neighbor (KNN) algorithm to address this problem. Nine beverage attributes—sweetness, bitterness, acidity, body, aroma, milk content, serving temperature, coffee type, and caffeine level—rated by the barista serve as training data, while customer preferences entered through the website serve as testing data; both are normalized with MinMaxScaler and compared using Euclidean Distance at k = 3. The system was evaluated through White Box Testing, Black Box Testing, and a User Acceptance Test. White Box Testing on three core modules produced Cyclomatic Complexity values of 3, 5, and 6 with all logical paths verified, Black Box Testing on 24 scenarios ran without error, and the UAT of 301 respondents recorded an overall acceptance score of 77.97%, categorized as Good. These results show that the implemented KNN algorithm produces relevant, personalized, and well-accepted signature drink recommendations, offering a more consistent alternative to manual recommendations at 5CM Coffee and Eatery.