Implementation of a Movie Recommendation System Using Collaborative Filtering with the K-Nearest Neighbors Technique
Jurnal Teknologi Informatika dan Komputer · 27.07.2026 · 12 (1) · 959-975
DOI: 10.37012/jtik.v12i1.3676 ↗Kurz gefasst
Fachartikel in der Zeitschrift Jurnal Teknologi Informatika dan Komputer, online erschienen am 27.07.2026. Verfasst von Ade Hastuty und 4 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
The growth of streaming platforms has led to a vast increase in available movies, often making it difficult for users to find films that match their preferences. Recommendation systems offer a solution by providing relevant movie suggestions based on a user's rating history. This study aims to implement a movie recommendation system using Collaborative Filtering with the K-Nearest Neighbors (KNN) technique, analyze the impact of the K parameter on recommendation results, and evaluate the system's ability to handle data sparsity. The system was developed as a web application using PHP and the Laravel framework, while user similarity was calculated using the Cosine Similarity method. The recommendation process begins by calculating similarity levels between users, followed by selecting the nearest neighbors via the KNN algorithm to predict ratings for unwatched movies. The prediction results are ranked to generate a list of the top 10 movie recommendations. To address the "cold start" problem, the system provides initial recommendations based on age filters when no user rating data is available. The results demonstrate that the system successfully generates relevant recommendations aligned with user preferences. The movie The Lion King achieved the highest predicted score of 4.76, while the use of age-based initial recommendations helped mitigate data sparsity issues.
Zitieren
APA
Hastuty, A., R, D. F., Hasnawati, Masnur, & Pawelloi, A. I. (2026). Implementation of a Movie Recommendation System Using Collaborative Filtering with the K-Nearest Neighbors Technique. Jurnal Teknologi Informatika dan Komputer, 12(1), 959-975. https://doi.org/10.37012/jtik.v12i1.3676
Vancouver
Hastuty A, R DF, Hasnawati, Masnur, Pawelloi AI. Implementation of a Movie Recommendation System Using Collaborative Filtering with the K-Nearest Neighbors Technique. Jurnal Teknologi Informatika dan Komputer. 2026;12(1):959-975. doi:10.37012/jtik.v12i1.3676
BibTeX
@article{Hastuty2026,
author = {Hastuty, Ade and R, Dian Fahmi and Hasnawati and Masnur and Pawelloi, A. Irmayani},
title = {Implementation of a Movie Recommendation System Using Collaborative Filtering with the K-Nearest Neighbors Technique},
journal = {Jurnal Teknologi Informatika dan Komputer},
year = {2026},
volume = {12},
number = {1},
pages = {959--975},
doi = {10.37012/jtik.v12i1.3676}
}
EUVIMED