Book Recommender System Using Matrix Factorization with Alternating Least Square Method
Abstract
In this digital age, we are faced with countless choices of books. Finding books that match our interests and desires becomes a complex challenge. However, the existence of a book recommender system is useful to help provide the best decision-making experience that users can have. This research develops a book recommender system using Collaborative Filtering (CF) Matrix Factorization with Alternating Least Squares method which is compared with Singular Value Decomposition method to see an accurate recommender system. This research uses datasets from Goodreads in the form of book data and rating data. This research uses several evaluation metrics, namely RMSE and MAE for regression metrics and F1-Score and Precision for classification metrics. Based on the research that has been done, SVD gets a better accuracy value with an RMSE value of around 0.86822, for MAE values around 0.6903, for F1-Score values around 0.827923 and for Precision values around 0.568347. Meanwhile, the ALS algorithm gets an RMSE value of around 1.09320, for MAE value of around 0.86479, for F1-Score value of around 0.000304 and for Precision value of around 0.000596.
Downloads
References
Roetzel, P. G. (2018b). Information overload in the information age: a review of the literature from business administration, business psychology, and related disciplines with a bibliometric approach and framework development. Business Research, 12(2), 479–522. https://doi.org/10.1007/s40685-018-0069-z.
Geetha, G., Safa, M., Fancy, C., & Saranya, D. (2018). A Hybrid Approach using Collaborative filtering and Content based Filtering for Recommender System. Journal of Physics, 1000, 012101. https://doi.org/10.1088/1742- 6596/1000/1/012101.
Jaja, V. L., Susanto, B., & Sasongko, L. R. (2020). Penerapan metode Item-Based Collaborative Filtering untuk sistem rekomendasi data MovieLens. D’Cartesian: Jurnal Matematika Dan Aplikasi, 9(2), 78. https://doi.org/10.35799/dc.9.2.2020.28274
Feng, J., Fengs, X., Zhang, N., & Peng, J. (2018c). An improved collaborative filtering method based on similarity. PLOS ONE, 13(9), e0204003. https://doi.org/10.1371/journal.pone.0204003.
Alhijawi, B., Obeid, N., Awajan, A., & Tedmori, S. (2018). Improving collaborative filtering recommender systems using semantic information. https://doi.org/10.1109/iacs.2018.8355454.
Wang, G., Zhang, X., Wang, H., Chu, Y., & Shao, Z. (2022b). Group-Oriented Paper Recommendation With Probabilistic Matrix Factorization and Evidential Reasoning in Scientific Social Network. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 52(6), 3757–3771. https://doi.org/10.1109/tsmc.2021.3072426.
Okon E Uko, B O Eke, and P. O. Asagba, “An Improved Online Book Recommender System using Collaborative Filtering Algorithm,” 2018, doi: 10.13140/RG.2.2.24240.46086.
Ahmed, E., & Letta, A. (2023). Book recommendation using Collaborative filtering algorithm. Applied Computational Intelligence and Soft Computing, 2023, 1–12. https://doi.org/10.1155/2023/1514801.
Sarma, D. D., Mittra, T., & Hossain, S. (2021). Personalized Book Recommendation System using Machine Learning Algorithm. International Journal of Advanced Computer Science and Applications, 12(1). https://doi.org/10.14569/ijacsa.2021.0120126.
Gosh, S., Nahar, N., Wahab, M. A., Biswas, M., Hossain, M. M., & Andersson, K. (2021). Recommendation system for e-commerce using Alternating Least Squares (ALS) on Apache Spark. In Advances in intelligent systems and computing (pp. 880–893). https://doi.org/10.1007/978-3-030-68154-8_75.
Rana, A., & Deeba, K. (2019). Online Book Recommendation System using Collaborative Filtering (With Jaccard Similarity). Journal of Physics, 1362(1), 012130. https://doi.org/10.1088/1742-6596/1362/1/012130.
Gaojun, L., & Wu, X. (2019). Using Collaborative Filtering Algorithms Combined with Doc2Vec for Movie Recommendation. In 2019 IEEE 3rd Information Technology, Networking, Electronic and Automation Control Conference (ITNEC). https://doi.org/10.1109/itnec.2019.8729076.
I. Yoshua and H. Bunyamin, “Pengimplementasian Sistem Rekomendasi Musik Dengan Metode Collaborative Filtering,” J. STRATEGI-J. Maranatha, vol. 3, no. 1, pp. 1–16, 2021.
Du, Y., Liu, T., Li, Y., Duan, R., & Tao, D. (2018). Quantum Divide-and-Conquer anchoring for separable non-negative matrix factorization. https://doi.org/10.24963/ijcai.2018/289.
Outrata, J., & Trnecka, M. (2019). Parallel exploration of partial solutions in Boolean matrix factorization. Journal of Parallel and Distributed Computing, 123, 180–191. https://doi.org/10.1016/j.jpdc.2018.09.014.
Paleti, L., Krishna, P. R., & Murthy, J. V. R. (2020). Approaching the cold-start problem using community detection based alternating least square factorization in recommendation systems. Evolutionary Intelligence, 14(2), 835–849. https://doi.org/10.1007/s12065-020-00464-y.
D. Meira, J. Viterbo, and F. Bernardini, “An Experimental Analysis on Scalable Implementations of the Alternating Least Squares Algorithm,” in 2018 Federated Conference on Computer Science and Information Systems (FedCSIS), Sep. 2018, pp. 351–359.
Priya, T. L., & Sandhya, H. (2020). Matrix factorization for recommendation system. In Advances in intelligent systems and computing (pp. 267–280). https://doi.org/10.1007/978-981-15-3514-7_22.
A. N. Khusna, K. P. Delasano, and D. C. E. Saputra, “Penerapan User-Based Collaborative Filtering Algorithm,” MATRIK J. Manaj. Tek. Inform. Dan Rekayasa Komput., vol. 20, no. 2, pp. 293–304, May 2021, doi: 10.30812/matrik.v20i2.1124.
Suryanto, A. A. (2019). PENERAPAN METODE MEAN ABSOLUTE ERROR (MEA) DALAM ALGORITMA REGRESI LINEAR UNTUK PREDIKSI PRODUKSI PADI. Saintekbu: Jurnal Sains Dan Teknologi, 11(1), 78–83. https://doi.org/10.32764/saintekbu.v11i1.298
Fakhri, A. A., Baizal, Z. K. A., & Setiawan, E. B. (2019). Restaurant Recommender System using User-Based Collaborative Filtering Approach: A case study at Bandung Raya region. Journal of Physics, 1192, 012023. https://doi.org/10.1088/1742-6596/1192/1/012023
Yacouby, R., & Axman, D. (2020). Probabilistic extension of precision, recall, and F1 score for more thorough evaluation of classification models. https://doi.org/10.18653/v1/2020.eval4nlp-1.9
Powers, D. M. W. (2020). Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlation. arXiv (Cornell University). https://doi.org/10.48550/arxiv.2010.16061
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Book Recommender System Using Matrix Factorization with Alternating Least Square Method
Pages: 1286-1292
Copyright (c) 2023 Z. K. A. Baizal, Hafid Adyatma

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).






















