Optimization of User-Based Collaborative Filtering Movie Recommendation System Using Mean-Centering and Overlap Weighting on Cosine Similarity
DOI:
https://doi.org/10.37012/jtik.v12i1.3315Abstract
Rapid technological advancements have changed the way people enjoy entertainment. Viewers can now watch movies online without having to go to the cinema. The rapid development of online movie streaming services has increased the need for systems capable of providing content recommendations based on user preferences. This study aims to optimize a User-Based Collaborative Filtering (UBCF)-based recommendation system using the MovieLens 100K dataset containing 100,000 ratings from 943 users for 1,682 movies. The evaluation was conducted by dividing the data into 80% training data and 20% testing data. The system was optimized through two main approaches: user average normalization (mean-centering) in the KNN method to reduce bias in rating scale differences between users, and the application of overlap weighting on cosine similarity to give greater weight to user pairs with a greater number of shared item ratings. Based on experiments, a value of k = 50 was chosen as the optimal trade-off point in predicting ratings. The experimental results show that KNN with mean centering (KNNWithMeans) consistently outperforms standard KNN. The cosine + KNNWithMeans model produced an RMSE of 0.9701 and an MAE of 0.7567, lower than cosine + KNN (RMSE 1.0377; MAE 0.8226). Further overlap weighting was shown to improve prediction accuracy, with the combination of weighted cosine with α = 1 and KNNWithMeans providing the best performance with an RMSE of 0.9686 and an MAE of 0.7556.
Downloads
Published
Issue
Section
Citation Check
License
Copyright (c) 2026 Arif Rohmadi, Ery Permana Yudha, Bambang Widoyono

This work is licensed under a Creative Commons Attribution 4.0 International License.
Jurnal Teknologi Informatika dan Komputer allows readers to read, download, copy, distribute, print, search, or link to the full texts of its articles and allow readers to use them for any other lawful purpose. The journal allows the author(s) to hold the copyright without restrictions. Finally, the journal allows the author(s) to retain publishing rights without restrictions Authors are allowed to archive their submitted article in an open access repository Authors are allowed to archive the final published article in an open access repository with an acknowledgment of its initial publication in this journal.

Jurnal Teknlogi Informatika dan Komputer is licensed under a Creative Commons Attribution 4.0 International License.









