Developing a Content-Based Book Recommendation System for School E-Libraries Using TF-IDF and Cosine Similarity

Authors

  • Muhammad Fatkul Roziq Universitas Islam Kadiri Author
  • Riska Nurtantyo Sarbini Universitas Islam Kadiri Author
  • Halimahtus Mukminna Universitas Islam Kadiri Author
  • Moh. Syaiful Anam Universitas Islam Kadiri Author

DOI:

https://doi.org/10.69533/informatech.volume3number1.543

Keywords:

content-based filtering, TF-IDF, cosine similarity, recommendation systems, e-libraries

Abstract

The rapid growth of e-libraries has increased the availability of digital book collections, making it difficult for users to identify relevant reading materials. This study develops an automated book recommendation system for the SMKN 1 Semen e-library using Content-Based Filtering with TF-IDF for term weighting and Cosine Similarity for similarity measurement. The dataset consisted of 35 book records containing metadata and book descriptions collected from the SMKN 1 Semen e-library. Text data were processed through case folding, tokenization, stopword removal, and stemming before recommendation generation. The system was developed using the Laravel framework and a MySQL database following the Research and Development (R&D) method with the Waterfall model. Recommendation performance was evaluated using a Top-5 recommendation scenario, where the recommended books were compared with manually identified relevant books based on content similarity using Precision and Recall metrics, while system functionality was verified through Black Box Testing. The experimental results achieved a Precision of 80% and a Recall of 57.14%, indicating that the proposed approach effectively generates relevant book recommendations. This study contributes by demonstrating that the integration of Content-Based Filtering, TF-IDF, and Cosine Similarity provides an effective recommendation approach for school e-libraries with limited user interaction data, enabling personalized book recommendations and improving the efficiency of book discovery in small-scale digital library environments.

Downloads

Download data is not yet available.

Author Biographies

  • Muhammad Fatkul Roziq, Universitas Islam Kadiri

    Muhammad Fatkul Roziq adalah mahasiswa Program Studi Teknik Informatika, Fakultas Teknik, Universitas Islam Kadiri, Kediri, Indonesia. Bidang minat penelitiannya meliputi sistem rekomendasi, data mining, machine learning, dan pengembangan aplikasi berbasis web.

  • Riska Nurtantyo Sarbini, Universitas Islam Kadiri

    Riska Nurtantyo Sarbini merupakan dosen pada Program Studi Teknik Informatika, Fakultas Teknik, Universitas Islam Kadiri, Kediri, Indonesia. Bidang minat penelitiannya meliputi kecerdasan buatan, data mining, sistem informasi, dan rekayasa perangkat lunak.

  • Halimahtus Mukminna, Universitas Islam Kadiri

    Halimahtus Mukminna merupakan dosen pada Program Studi Teknik Informatika, Fakultas Teknik, Universitas Islam Kadiri, Kediri, Indonesia. Bidang minat penelitiannya meliputi data mining, machine learning, sistem pendukung keputusan, dan pengembangan sistem informasi.

  • Moh. Syaiful Anam, Universitas Islam Kadiri

    Moh. Syaiful Anam merupakan dosen pada Program Studi Teknik Informatika, Fakultas Teknik, Universitas Islam Kadiri, Kediri, Indonesia. Bidang minat penelitiannya meliputi rekayasa perangkat lunak, pengembangan aplikasi web, basis data, dan sistem informasi.

References

A. Bhajantri et al., “Personalized Book Recommendations: A Hybrid Approach Leveraging Collaborative Filtering, Association Rule Mining, and Content-Based Filtering,” EAI Endorsed Transactions on Internet of Things, vol. 10, 2024, doi: 10.4108/eetiot.6996.

S. Unnisa and A. N. S., “Personalized Mood-Centric Book Recommendation Integrating Machine Learning with Content Based Filtering,” International Journal of Information Technology, Research and Applications, vol. 3, no. 3, pp. 15–22, Sep. 2024, doi: 10.59461/ijitra.v3i3.100.

M. Alkaff, H. Khatimi, and A. Eriadi, “Sistem Rekomendasi Buku pada Perpustakaan Daerah Provinsi Kalimantan Selatan Menggunakan Metode Content-Based Filtering,” MATRIK: Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, vol. 20, no. 1, pp. 193–202, Sep. 2020, doi: 10.30812/matrik.v20i1.617.

S. Rahmadhani et al., “Sistem Rekomendasi Penelusuran Buku Berbasis Content-Based Filtering dengan Pembobotan TF-RF,” JIP (Jurnal Informatika Polinema), 2024.

R. Ardiansyah, M. A. Bianto, and B. D. Saputra, “Sistem Rekomendasi Buku Perpustakaan Sekolah Menggunakan Metode Content-Based Filtering,” Jurnal CoSciTech (Computer Science and Information Technology), vol. 4, no. 2, pp. 510–518, Oct. 2023, doi: 10.37859/coscitech.v4i2.5131.

F. Ricci, Recommender Systems Handbook. Boston, MA, USA: Springer, 2015, doi: 10.1007/978-1-4899-7637-6.

D. Jannach, M. Zanker, A. Felfernig, and G. Friedrich, Recommender Systems: An Introduction. Cambridge, United Kingdom: Cambridge University Press, 2016.

G. Adomavicius and A. Tuzhilin, “Toward the Next Generation of Recommender Systems: A Survey of the State-of-the-Art and Possible Extensions,” IEEE Transactions on Knowledge and Data Engineering, vol. 17, no. 6, pp. 734–749, Jun. 2005, doi: 10.1109/TKDE.2005.99.

P. Lops, M. de Gemmis, and G. Semeraro, “Content-Based Recommender Systems: State of the Art and Trends,” in Recommender Systems Handbook, Boston, MA, USA: Springer, 2011, pp. 73–105, doi: 10.1007/978-0-387-85820-3_3.

J. B. Schafer, D. Frankowski, J. Herlocker, and S. Sen, “Collaborative Filtering Recommender Systems,” in The Adaptive Web, Berlin, Germany: Springer, 2007, pp. 291–324, doi: 10.1007/978-3-540-72079-9_9.

R. Burke, “Hybrid Recommender Systems: Survey and Experiments,” User Modeling and User-Adapted Interaction, vol. 12, no. 4, pp. 331–370, Nov. 2002.

H. Kurniadi, Y. B. Utomo, and M. S. Anam, “Penerapan Algoritma Naive Bayes Sebagai Sistem Pendukung Keputusan Dalam Penentuan Pemilihan Mobil Untuk Driver Online,” Jurnal TeIKa, vol. 15, Apr. 2025.

Y. B. Utomo, D. E. Yuliana, and H. Kurniadi, “Sistem Pendukung Keputusan dalam Menentukan Ketua Himaprodi Menggunakan Metode Weighted Product,” Jurnal Teknik Informasi dan Komputer (Tekinkom), vol. 5, no. 2, p. 501, Dec. 2022, doi: 10.37600/tekinkom.v5i2.703.

S. Zhang et al., Proceedings of the 13th ACM Conference on Recommender Systems (RecSys 2019). New York, NY, USA: Association for Computing Machinery, 2019.

N. Qazi and B. L. W. Wong, “An Interactive Human-Centered Data Science Approach Towards Crime Pattern Analysis,” Information Processing and Management, vol. 56, no. 6, p. 102066, Nov. 2019, doi: 10.1016/j.ipm.2019.102066.

S. Zhang, L. Yao, A. Sun, and Y. Tay, "Deep Learning Based Recommender System: A Survey and New Perspectives," ACM Computing Surveys, vol. 56, no. 1, pp. 1–38, 2023.

J. Wu, X. Wang, and Y. Zhang, "Recent Advances in Recommender Systems: A Survey," IEEE Access, vol. 11, pp. 85672–85695, 2023.

H. Wang, F. Zhang, X. Xie, and M. Guo, "Large Language Models for Recommender Systems: A Survey," arXiv preprint arXiv:2308.10837, 2023.

F. Ricci, L. Rokach, and B. Shapira, Recommender Systems Handbook, 3rd ed. Cham: Springer, 2022.

P. Lops, M. de Gemmis, and G. Semeraro, "Content-Based Recommender Systems: State of the Art and Trends," in Recommender Systems Handbook, 3rd ed., Springer, 2022.

Downloads

Published

2026-06-01