Pengembangan Hybrid Recommender System Menggunakan Scikit-Learn dan Pandas untuk Rekomendasi Film
DOI:
https://doi.org/10.30998/8n8ms865Keywords:
MovieLens., Scikit-learn, Content-Based Filtering, Hybrid Filtering, Recommender SystemAbstract
The rapid growth of digital streaming services has led to an increase in the amount of available film content, creating a problem of information overload for users when selecting content that matches their preferences. Therefore, recommendation systems have become an essential solution to help users efficiently and personally discover relevant films. This study aims to develop a film recommendation system based on a hybrid recommender system by combining collaborative filtering and content-based filtering methods to improve the accuracy and diversity of recommendations. The CF method is used to leverage interaction patterns and similarities in preferences among users, while the CBF method utilizes film content features such as genre to determine item similarity. The system was implemented using the Python programming language with the scikit-learn and pandas libraries for data processing and model development. The dataset used is MovieLens 100k, consisting of 100,000 ratings from 943 users for 1,682 movies, along with movie metadata. System performance was evaluated using the mean squared error and precision@K metrics. The test results indicate that the hybrid system achieved a precision@5 value of 0.6000, indicating that 60% of the recommendations provided were relevant to user preferences. Furthermore, the hybrid approach proved to be more stable and accurate than single methods and was able to address cold-start problems and data sparsity. Thus, the developed system is capable of providing more relevant, diverse, and personalized movie recommendations. This study demonstrates that the hybrid approach is an effective solution for improving the quality of recommendation systems, particularly in user-data-based movie recommendation applications.
Downloads
References
Chaudhary, N., & Chowdhury, D. R. (2019). Data preprocessing for evaluation of recommendation models in E-commerce. Data, 4(1), 23. https://doi.org/10.3390/data4010023
Chen, Y., & Hu, W. (2023). A machine learning-based hybrid recommender system integrating CF and CBF. International Journal of Recommender Systems, 18(1), 25–39. https://doi.org/10.1016/j.ijrs.2023.01.002
Huang, Z., Tan, H., & Lin, J. (2021). Performance comparison of hybrid recommendation strategies. IEEE Access, 9, 87234–87245. https://doi.org/10.1109/ACCESS.2021.3087650
Li, S., Wang, X., & Zhao, H. (2022). Context-aware hybrid recommendation model using user behavior features. Expert Systems with Applications, 193, 116414. https://doi.org/10.1016/j.eswa.2021.116414
Liu, M., & Zhao, T. (2022). Evaluation metrics for hybrid recommender systems: A case study. ACM Transactions on Information Systems, 40(3), 1–25. https://doi.org/10.1145/3510423
Liu, Y., Zhang, F., & Chen, L. (2021). Scalable hybrid recommender systems using matrix factorization and PCA. Information Processing & Management, 58(5), 102638. https://doi.org/10.1016/j.ipm.2021.102638
Nguyen, T. T., Luong, Q. H., & Le, V. C. (2020). Content-based recommendation system using user preference and contextual information. Procedia Computer Science, 176, 2596–2605. https://doi.org/10.1016/j.procs.2020.09.319
Park, J., & Kim, S. (2021). Addressing cold-start problems in collaborative filtering using deep learning. Applied Soft Computing, 107, 107437. https://doi.org/10.1016/j.asoc.2021.107437
Qian, Y., Zhang, X., & Zhou, T. (2021). Diversity-aware hybrid recommender systems: A comprehensive survey. ACM Computing Surveys, 54(4), 1–38. https://doi.org/10.1145/3448109
Tang, H., Zhang, Y., & Zhao, L. (2022). Enhancing transparency in hybrid recommender systems. Journal of Intelligent Information Systems, 59(3), 511–530. https://doi.org/10.1007/s10844-022-00702-z
Wang, C., Liu, Y., & Zhao, X. (2023). Advances in hybrid recommender systems: A review. Knowledge-Based Systems, 258, 110041. https://doi.org/10.1016/j.knosys.2023.110041
Wang, J., Zhang, L., & Xu, D. (2020). Improved movie recommendation using TF-IDF and similarity matrices. Multimedia Tools and Applications, 79(27–28), 19723–19739. https://doi.org/10.1007/s11042-020-08891-5
Zhang, J., & Li, H. (2023). Implementation of hybrid recommendation pipeline using scikit-learn. Software: Practice and Experience, 53(2), 251–264. https://doi.org/10.1002/spe.3005
Zhang, Y., Xu, J., & Li, Z. (2022). A survey on collaborative filtering recommendation algorithms. Artificial Intelligence Review, 55(1), 243–271. https://doi.org/10.1007/s10462-021-10045-0
Zhao, K., Wang, L., & Zhou, F. (2020). Addressing data sparsity in recommender systems: A hybrid approach. Knowledge and Information Systems, 62(1), 127–144. https://doi.org/10.1007/s10115-019-01379-w
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Muhammad Fabian Hartono, Opitasari Opitasari, Ivan Firdaus (Author)

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





