Item Based Collaborative Filtering Based on Highest Item Similarity

(1) * Malim Muhammad Mail (Department of Mathematics Education, Faculty of Teacher Training and Education, Muhammadiyah Purwokerto University, Indonesia)
(2) Sigit Sugiyanto Mail (Department of Informatics Engineering, Faculty of Engineering and Science, Universitas Muhammadiyah Purwokerto, Indonesia)
*corresponding author


The popularity of movies has increased in recent years. There are thousands of films produced each year. These films make it challenging for movie lovers to pick the ideal film to see. We propose a recommendation system that strives to offer guidance in selecting films.  Depending on the method employed, recommendation systems can be categorized into three groups: collaborative filtering, content-based filtering, and hybrid filtering. In this work, collaborative filtering, one of the methods frequently used in recommendation systems was used. There are two ways to the Collaborative Filtering approach: User-Based Collaborative Filtering (UBCF) and Item-Based Collaborative Filtering (IBCF). There are two methods for finding similar items or users: Cosine and Pearson similarities. The Cosine similarity approach is one way to determine how similar two items are. Additionally, the Pearson Correlation Coefficient approach, which determines similarities between objects by calculating linear correlations between two sets, is the most widely employed. This study aims to determine which system produces the highest item similarity in IBCF and predicted ratings to actual ratings using 90% training and 10% testing data. The data set taken from consists of 943 users from 1664 movies with 99392 ratings. The MovieLens data collection will be analyzed with the RStudio and the R package recommenderlab. The results reveal that the IBCF with Cosine similarities shows the number of items recommended n top-rated movies to each user for 10 movies. The IBCF can identify the most recommended films and creates a frequency distribution of items.



Article metrics

10.29099/ijair.v6i1.310 Abstract views : 178 | PDF views : 41




Full Text



J. Lourenco, “Item-Based Collaborative Filtering and Association Rules for a Baseline Recommender in E-Commerce,” Proceedings - 2020 IEEE International Conference on Big Data, Big Data 2020. pp. 4636–4645, 2020. doi: 10.1109/BigData50022.2020.9377807.

A. Putra, “Two-steps graph-based collaborative filtering using user and item similarities: Case study of E-commerce recommender systems,” Proceedings of 2017 International Conference on Data and Software Engineering, ICoDSE 2017, vol. 2018. pp. 1–6, 2018. doi: 10.1109/ICODSE.2017.8285891.

M. Verma, “An Enhanced Item-based Collaborative Filtering Approach for Book Recommender System Design,” ECS Transactions, vol. 107, no. 1. pp. 15439–15449, 2022. doi: 10.1149/10701.15439ecst.

C. S. V. V. S. N. Murty, “Content-Based Collaborative Filtering with Hierarchical Agglomerative Clustering Using User/Item based Ratings,” J. Interconnect. Networks, 2022, doi: 10.1142/S0219265921410267.

J. Guo, “An efficient and accurate recommendation strategy using degree classification criteria for item-based collaborative filtering,” Expert Syst. Appl., vol. 164, 2021, doi: 10.1016/j.eswa.2020.113756.

S. Xiao, “Study on collaborative filtering recommendation algorithm based on prediction for item rating,” Proceedings - 2020 International Conference on Information Science, Parallel and Distributed Systems, ISPDS 2020. pp. 352–355, 2020. doi: 10.1109/ISPDS51347.2020.00081.

W. Zhao, “A New Item-Based Collaborative Filtering Algorithm to Improve the Accuracy of Prediction in Sparse Data,” Int. J. Comput. Intell. Syst., vol. 15, no. 1, 2022, doi: 10.1007/s44196-022-00068-7.

F. Ricci , Rokach, Lior,, Shapira, Bracha,, “Recommender systems handbook.” 2015. [Online]. Available:

P. K. Singh, “An improved item-based collaborative filtering using a modified Bhattacharyya coefficient and user–user similarity as weight,” Knowl. Inf. Syst., vol. 64, no. 3, pp. 665–701, 2022, doi: 10.1007/s10115-021-01651-8.

C. Iwendi, “Pointer-Based Item-to-Item Collaborative Filtering Recommendation System Using a Machine Learning Model,” Int. J. Inf. Technol. Decis. Mak., vol. 21, no. 1, pp. 463–484, 2022, doi: 10.1142/S0219622021500619.

S. K. Padhy, N. Shrivastava, J. M. Musa, V. Arulalan, M. K. Kharita, and Shristi, “An Item Based Collaborative Filtering for Similar Movie Search,” Communications in Computer and Information Science, vol. 906. pp. 949–955, 2018. doi: 10.1109/ICEECCOT52851.2021.9707955.

B. Liu, “Item-Based Collaborative Filtering Algorithm Based on Co-occurrence Matrix,” Advances in Intelligent Systems and Computing, vol. 1017. pp. 617–623, 2020. doi: 10.1007/978-3-030-25128-4_76.

L. Ponnam, “Movie recommender system using item based collaborative filtering technique,” 1st International Conference on Emerging Trends in Engineering, Technology and Science, ICETETS 2016 - Proceedings. 2016. doi: 10.1109/ICETETS.2016.7602983.

P. Pirasteh, “Item-based collaborative filtering with attribute correlation: A case study on movie recommendation,” Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 8398. pp. 245–252, 2014. doi: 10.1007/978-3-319-05458-2_26.

W. Wei, “Intelligent recommendation of related items based on naive bayes and collaborative filtering combination model,” Journal of Physics: Conference Series, vol. 1682, no. 1. 2020. doi: 10.1088/1742-6596/1682/1/012043.

H. Zheng, “UIAE: Collaborative Filtering for User and Item based on Auto-Encoder,” Proceedings - 2021 7th Annual International Conference on Network and Information Systems for Computers, ICNISC 2021. pp. 1–6, 2021. doi: 10.1109/ICNISC54316.2021.00008.

A. S. Tewari, “Generating Items Recommendations by Fusing Content and User-Item based Collaborative Filtering,” Procedia Computer Science, vol. 167. pp. 1934–1940, 2020. doi: 10.1016/j.procs.2020.03.215.

B. Ujkani, “A recommender system for WordPress themes using item-based collaborative filtering technique,” 2020 29th International Scientific Conference Electronics, ET 2020 - Proceedings. 2020. doi: 10.1109/ET50336.2020.9238305.

Y. Zhang, R. Liu, and A. Li, “A Novel Approach to Recommender System Based on Aspect-level Sentiment Analysis,” no. Nceece 2015, pp. 1453–1458, 2016, doi: 10.2991/nceece-15.2016.259.

S. Zubair, “Development of an Improved Collaborative Filtering-based Similarity Model for User-item Matrix,” Math. Eng. Sci. Aerosp., vol. 12, no. 2, pp. 421–433, 2021, [Online]. Available:

J. Bobadilla, F. Ortega, A. Hernando, and ..., “Recommender systems survey,” Knowledge-based Syst., 2013, [Online]. Available:

P. K. Singh, P. K. Dutta Pramanik, A. K. Dey, and P. Choudhury, “Recommender systems: An overview, research trends, and future directions,” Int. J. Bus. Syst. Res., vol. 15, no. 1, pp. 14–52, 2021, doi: 10.1504/IJBSR.2021.111753.

L. C. Jiang, “User-location distribution serves as a useful feature in item-based collaborative filtering,” Phys. A Stat. Mech. its Appl., vol. 586, 2022, doi: 10.1016/j.physa.2021.126491.

F. O. Isinkaye, Y. O. Folajimi, and B. A. Ojokoh, “Recommendation systems: Principles, methods and evaluation,” Egyptian informatics journal. Elsevier, 2015. [Online]. Available:

F. Ricci, L. Rokach, B. Shapira, P. B. Kantor, and F. Ricci, Recommender Systems Handbook, 1st ed. Springer US, 2011. doi: 10.1007/978-0-387-85820-3.

L. Berkani, “Recommendation of items using a social-based collaborative filtering approach and classification techniques,” International Journal of Data Mining, Modelling and Management, vol. 13, no. 1. pp. 137–159, 2021. doi: 10.1504/IJDMMM.2021.112919.

S. N. Gunjal, “A distributed item based similarity approach for collaborative filtering on hadoop framework,” Adv. Parallel Comput., vol. 37, pp. 407–415, 2020, doi: 10.3233/APC200176.

X. Gao, “Similarity measure based on punishing popular items for collaborative filtering,” CITS 2018 - 2018 International Conference on Computer, Information and Telecommunication Systems. 2018. doi: 10.1109/CITS.2018.8440147.

B. M. Marlin, R. S. Zemel, S. T. Roweis, and M. Slaney, “Recommender systems: Missing data and statistical model estimation,” IJCAI Int. Jt. Conf. Artif. Intell., pp. 2686–2691, 2011, doi: 10.5591/978-1-57735-516-8/IJCAI11-447.

A. Laishram, “Analysis of similarity measures in user-item subgroup based collaborative filtering via genetic algorithm,” Int. J. Inf. Technol., vol. 10, no. 4, pp. 523–527, 2018, doi: 10.1007/s41870-018-0195-z.

Y. Wang, “A new item similarity based on α-divergence for collaborative filtering in sparse data,” Expert Syst. Appl., vol. 166, 2021, doi: 10.1016/j.eswa.2020.114074.

V. L. Jaja, B. Susanto, and L. R. Sasongko, “Penerapan Metode Item-Based Collaborative Filtering Untuk Sistem Rekomendasi Data MovieLens,” d’CARTESIAN, vol. 9, no. 2, p. 78, 2020, doi: 10.35799/dc.9.2.2020.28274.

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


International Journal Of Artificial Intelligence Research

Organized by: Departemen Teknik Informatika STMIK Dharma Wacana
Published by: STMIK Dharma Wacana
Jl. Kenanga No.03 Mulyojati 16C Metro Barat Kota Metro Lampung
phone. +62725-7850671
Fax. +62725-7850671
Email: |

View IJAIR Statcounter

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