RABIT: Jurnal Teknologi dan Sistem Informasi Univrab
Vol 11 No 1 (2026): Januari

SISTEM REKOMENDASI FILM BERBASIS CONTENT-BASED FILTERING MENGGUNAKAN NAIVE BAYES

Rahmad Eka Putra Wardhani (Universitas Amikom Yogyakarta)
Arif Nur Rohman (Universitas Amikom Yogyakarta)



Article Info

Publish Date
30 Jan 2026

Abstract

The rapid growth of digital film content makes it difficult for users to find movies that match their preferences. A Content-Based Filtering (CBF) recommender recommends items whose content characteristics resemble items the user has liked. This study aims to implement and evaluate CBF with a Bernoulli Naive Bayes algorithm on 232 MovieLens ratings from one user covering 17 genres. The process includes rating normalization, relevance labelling, multi-hot genre encoding, user profile construction, and relevance classification. The model is evaluated with 10-fold cross-validation repeated ten times and compared with random ranking using Precision@5, Recall@5, NDCG@5, Mean Average Precision (MAP), and Mean Absolute Error (MAE). When relevance is defined as a rating above the user's mean (rating 5), the model achieves Precision@5 of 0.702 (baseline 0.535), NDCG@5 of 0.713 (0.535), MAP of 0.686 (0.592), and MAE of 0.626 (0.680). When relevance is defined as a rating of at least 4, the advantage over the baseline nearly disappears because 86% of the films are already liked. These results indicate that Naive Bayes-based CBF consistently improves ranking quality on this data, but the size of the gain depends strongly on the relevance definition. This is lower than earlier studies (0.81–0.85).

Copyrights © 2026






Journal Info

Abbrev

rabit

Publisher

Subject

Computer Science & IT Engineering

Description

This journal is called RABIT, where the name comes from two words namely, RAB which means Abdurrab University and IT which means information technology, it can be interpreted as a journal of this journal Journal of Informatics Engineering Study Program Pekanbaru Abdurrab University. This RABIT ...