Improving the Accuracy of Movie Recommendation Systems Using TF-IDF and Cosine Similarity with Hybrid Feature Engineering
DOI:
https://doi.org/10.25181/rt.v4i2.4929Keywords:
recommendation system, Content-Based Filtering, Hybrid Feature Engineering, TF-IDF, Cosine SimilarityAbstract
Content-based filtering movie recommendation systems are widely used to help users find relevant movies. However, most studies still rely on a single feature such as a synopsis, resulting in a less informative feature representation that impacts the quality of recommendations. This study aims to improve the accuracy of movie recommendation systems using TF-IDF and Cosine Similarity through the application of Hybrid Feature Engineering, which combines synopsis, genre, and keywords. Evaluation was conducted using the TMDb 5000 Movie Dataset with Precision, Recall, and F1-Score metrics in a Top-10 Recommendation scenario. The results showed that the hybrid model increased Precision from 0.7600 to 0.9600 (26.3%), Recall from 0.0048 to 0.0060 (25.0%), and F1-Score from 0.0095 to 0.0120 (26.3%) compared to the baseline model. The system was also successfully implemented as a Streamlit-based web application. These results indicate that combining multiple features through Hybrid Feature Engineering can produce a more informative feature representation and improve the quality of recommendations in content-based filtering systems
Downloads
References
[1] G. Miao, Y. Gao, and Z. Zhu, “Digital Movie Recommendation Algorithm Based on Big Data Platform,” Math. Probl. Eng., vol. 2022, 2022, doi: 10.1155/2022/4163426.
[2] H. Zhou, F. Xiong, and H. Chen, “A Comprehensive Survey of Recommender Systems Based on Deep Learning,” Oct. 01, 2023, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/app132011378.
[3] H. Papadakis, A. Papagrigoriou, E. Kosmas, C. Panagiotakis, S. Markaki, and P. Fragopoulou, “Content-Based Recommender Systems Taxonomy,” Foundations of Computing and Decision Sciences, vol. 48, no. 2, pp. 211–241, Jun. 2023, doi: 10.2478/fcds-2023-0009.
[4] A. H. J. P. Juni Permana and Agung Toto Wibowo, “Movie Recommendation System Based on Synopsis Using Content-Based Filtering with TF-IDF and Cosine Similarity,” International Journal on Information and Communication Technology (IJoICT), vol. 9, no. 2, pp. 1–14, Dec. 2023, doi: 10.21108/ijoict.v9i2.747.
[5] F. Christyawan, A. N. Rohman, and A. D. Hartanto, “Application of Content-Based Filtering Method Using Cosine Similarity in Restaurant Selection Recommendation System,” Journal of Information Systems and Informatics, vol. 6, no. 3, pp. 1559–1576, Sep. 2024, doi: 10.51519/journalisi.v6i3.806.
[6] X. Tian, “Content-based Filtering for Improving Movie Recommender System,” 2024, pp. 598–609. doi: 10.2991/978-94-6463-370-2_61.
[7] Omkar Kunde, Omkar Gaikwad, Prathamesh Kelgandre, Rohan Damodhar, and Prof. Mrs. M. M. Swami, “The Movie Recommendation System using Content Based Filtering with TF-IDF¬¬-Vectorization and Levenshtein Distance,” International Journal of Advanced Research in Science, Communication and Technology, pp. 257–263, May 2022, doi: 10.48175/ijarsct-3648.
[8] T. Verdonck, B. Baesens, M. Óskarsdóttir, and S. vanden Broucke, “Special issue on feature engineering editorial,” Mach. Learn., vol. 113, no. 7, pp. 3917–3928, Jul. 2024, doi: 10.1007/s10994-021-06042-2.
[9] R. Z. A. Aziz, S. Lestari, Fitria, and F. Arianto, “Imputation missing value to overcome sparsity problems,” Telkomnika (Telecommunication Computing Electronics and Control), vol. 22, no. 4, pp. 949–955, Aug. 2024, doi: 10.12928/TELKOMNIKA.v22i4.25940.
[10] S. Lestari, Yulmaini, Aswin, S. Y. Ma’ruf, Sulyono, and R. R. N. Fikri, “Alleviating cold start and sparsity problems in the micro, small, and medium enterprises marketplace using clustering and imputation techniques,” International Journal of Electrical and Computer Engineering, vol. 14, no. 3, pp. 3220–3229, Jun. 2024, doi: 10.11591/ijece.v14i3.pp3220-3229.
[11] TMDb, “TMDb 5000 Movie Dataset,” Kaggle. Accessed: Dec. 17, 2025. [Online]. Available: https://www.kaggle.com/datasets/tmdb/tmdb-movie-metadata
[12] C. N. Mohammed and A. M. Ahmed, “A semantic-based model with a hybrid feature engineering process for accurate spam detection,” Journal of Electrical Systems and Information Technology, vol. 11, no. 1, Jul. 2024, doi: 10.1186/s43067-024-00151-3.
[13] R. Al Rasyid, D. Handayani, and U. Ningsih, “Penerapan Algoritma TF-IDF dan Cosine Similarity untuk Query Pencarian Pada Dataset Destinasi Wisata,” Jurnal Teknologi Informasi dan Komunikasi, vol. 8, no. 1, p. 2024, 2024, doi: 10.35870/jtik.v8i1.1416.
[14] D. M. W. Powers, “Evaluation: From Precision, Recall And F-Measure To Roc, Informedness, Markedness & Correlation,” Oct. 2020. doi: 10.48550/arXiv.2010.16061.
[15] J. M. Azri Saputra, L. M. Huizen, and D. B. Arianto, “Sistem Rekomendasi Film pada Platform Streaming Menggunakan Metode Content-Based Filtering,” Jurnal Transformatika, vol. 22, no. 1, pp. 10–21, Jul. 2024, doi: 10.26623/transformatika.v22i1.7041.
[16] R. Hanun, D. Reswara, and A. Susanto, “Implementasi Content-Based Filtering Pada Sistem Rekomendasi Buku Perpustakaan,” 2025. doi: 10.36040/jati.v9i2.13312.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Aryono Prihandito, Sri Lestari, Fitria, Ketut Artaye

This work is licensed under a Creative Commons Attribution 4.0 International License.



