Book Recommendation System using Content-Based Filtering Technique

Authors

  • Phawika Ouanlamai Department of Computer Science and Information Technology, Faculty of Science and Health Technology, Kalasin University
  • Tammanoon Panyatip Department of Computer Science and Information Technology, Faculty of Science and Health Technology, Kalasin University
  • Panatda Phothinam Department of Computer Science and Information Technology, Faculty of Science and Health Technology, Kalasin University
  • Achara Sumungkaset Department of Computer Science and Information Technology, Faculty of Science and Health Technology, Kalasin University
  • Narongrit Masusai Department of Computer Science and Information Technology, Faculty of Science and Health Technology, Kalasin University
  • Songgrod Phimphisan Department of Computer Science and Information Technology, Faculty of Science and Health Technology, Kalasin University
  • Paitoon Thipsanthia Department of Computer Science and Information Technology, Faculty of Science and Health Technology, Kalasin University

DOI:

https://doi.org/10.14456/jeit.2025.13

Keywords:

Content-Based Recommendation, Similarity, TF-IDF

Abstract

This research aims to: 1) develop an algorithm and a content-based book recommendation system, and 2) enhance the content-based book recommendation system. The dataset for the experiment consists of 727 books from the Web OPAC of the Library Services at Kalasin University. The tools used in the development process include Python programming language and Google Colab. The research methodology involves several steps: word segmentation using Natural Language Processing (NLP) techniques to tokenize text, TF-IDF calculation to determine the significance of words, and text-to-numeric conversion using Label Encoding. Two similarity measurement methods, Cosine Similarity and Adjusted Cosine Similarity, were employed. System performance was evaluated using Accuracy and Mean Absolute Error (MAE), and recommendations were generated for the top 5 and top 10 books.    The findings indicate that for the top 5 book recommendations, the Cosine Similarity method produced an accuracy of 92.97% with an MAE of 0.0263, while the Adjusted Cosine Similarity method produced an accuracy of 88.72% with an MAE of 0.0153. For the top 10 book recommendations, Cosine Similarity produced an accuracy of 92.92% with an MAE of 0.2819, whereas Adjusted Cosine Similarity produced an accuracy of 92.50% with an MAE of 0.4960. The results reveal that Cosine Similarity consistently outperforms Adjusted Cosine Similarity in terms of accuracy for both the top 5 and top 10 recommendations. However, Adjusted Cosine Similarity demonstrated a lower MAE for the top 5 recommendations but a higher MAE for the top 10 recommendations. These findings underscore the effectiveness of these similarity measurement methods in developing efficient content-based recommendation systems.

References

[1] A. Jadon and A. Patil, "A comprehensive survey of evaluation techniques for recommendation systems," in Proceedings of the International Conference on Computation of Artificial Intelligence & Machine Learning, Jan. 2024, pp. 281–304.

[2] S. Wang et al., "A survey on session-based recommender systems," ACM Computing Surveys, vol. 54, no. 7, pp. 1–38, 2021.

[3] S. R. S. Reddy et al., "Content-based movie recommendation system using genre correlation," in Smart Intelligent Computing and Applications: Proceedings of the Second International Conference on SCI 2018, vol. 2, pp. 391–397, 2019.

[4] P. Lops et al., "Trends in content-based recommendation: Preface to the special issue on recommender systems based on rich item descriptions," User Modeling and User-Adapted Interaction, vol. 29, pp. 239–249, 2019.

[5] ธนพร เฟื่องขจร, "การพัฒนาบริการแนะนำหนังสือโดยประยุกต์ใช้เทคนิคเหมืองข้อมูลและเทคโนโลยีความเป็นจริงเสริม," วิทยานิพนธ์, มหาวิทยาลัยมหาสารคาม, 2564.

[6] โกเมส อัมพวัน และคณะ, "ระบบแนะนำหนังสืออ่านเพิ่มเติมเพื่อส่งเสริมการอ่านและการศึกษาด้วยตนเอง," มหาวิทยาลัยบูรพา, 2561.

[7] ธรรมนูญ ปัญญาทิพย์, "ระบบให้คำแนะนำภาพยนตร์ด้วยวิธีการผสมผสาน," วิทยานิพนธ์, มหาวิทยาลัยมหาสารคาม, 2562.

[8] Y. Afoudi, M. Lazaar, and M. Al Achhab, "Impact of feature selection on content-based recommendation system," in 2019 International Conference on Wireless Technologies, Embedded and Intelligent Systems (WITS), Apr. 2019, pp. 1–6.

[9] S. Sharma, V. Rana, and M. Malhotra, "Automatic recommendation system based on hybrid filtering algorithm," Education and Information Technologies, vol. 27, no. 2, pp. 1523–1538, 2022.

[10] O. Stitini, S. Kaloun, and O. Bencharef, "An improved recommender system solution to mitigate the over-specialization problem using genetic algorithms," Electronics, vol. 11, no. 2, p. 242, 2022.

[11] P. Jomsri et al., "Hybrid recommender system model for digital library from multiple online publishers," F1000Research, vol. 12, pp. 1–23, 2024.

[12] S. Amara and R. R. Subramanian, "Collaborating personalized recommender system and content-based recommender system using TextCorpus," in 2020 6th International Conference on Advanced Computing and Communication Systems (ICACCS), Mar. 2020, pp. 105–109.

[13] Y. H. Lee et al., "Small clues tell: A collaborative expansion approach for effective content-based recommendations," Journal of Organizational Computing and Electronic Commerce, vol. 30, no. 2, pp. 111–128, 2020.

[14] A. Gholami and Y. Forghani, "Improving multi-class co-clustering-based collaborative recommendation using item tags," Revue d'Intelligence Artificielle, vol. 34, no. 1, 2020.

[15] S. S. E. Alqallaf, W. M. Medhat, and T. A. El-Shishtawy, "A hybrid recommender framework for selecting a course reference books," Journal of Theoretical and Applied Information Technology, vol. 100, no. 4, pp. 1004–1013, 2022.

[16] A. A. Amer, H. I. Abdalla, and L. Nguyen, "Enhancing recommendation systems performance using highly-effective similarity measures," Knowledge-Based Systems, vol. 217, p. 106842, 2021.

[17] M. Kommineni et al., "Machine learning based efficient recommendation system for book selection using user based collaborative filtering algorithm," in 2020 Fourth International Conference on Inventive Systems and Control (ICISC), Jan. 2020, pp. 66–71.

[18] D. Sarma, T. Mittra, and M. S. Hossain, "Personalized book recommendation system using machine learning algorithm," International Journal of Advanced Computer Science and Applications, vol. 12, no. 1, 2021.

[19] A. K. Sharma et al., "An efficient approach of product recommendation system using NLP technique," Materials Today: Proceedings, vol. 80, pp. 3730–3743, 2023.

[20] Y. C. Chen, L. Hui, and T. Thaipisutikul, "A collaborative filtering recommendation system with dynamic time decay," The Journal of Supercomputing, vol. 77, pp. 244–262, 2021.

[21] N. Ifada, T. F. Rahman, and M. K. Sophan, "Comparing collaborative filtering and hybrid based approaches for movie recommendation," in 2020 6th Information Technology International Seminar (ITIS), Oct. 2020, pp. 219–223.

[22] H. Ko, S. Lee, Y. Park, and A. Choi, "A survey of recommendation systems: Recommendation models, techniques, and application fields," Electronics, vol. 11, no. 1, p. 141, 2022

Downloads

Published

2025-06-26

How to Cite

[1]
P. . Ouanlamai, “Book Recommendation System using Content-Based Filtering Technique”, JEIT, vol. 3, no. 3, pp. 36–53, Jun. 2025.