Singular value decomposition model application for e-commerce recommendation system

Aplikasi model dekomposisi nilai tunggal untuk sistem rekomendasi e-commerce


  • Wervyan Shalannanda Institut Teknologi Bandung
  • Rafi Falih Mulia Institut Teknologi Bandung
  • Arief Insanu Muttaqien Institut Teknologi Bandung
  • Naufal Rafi Hibatullah Institut Teknologi Bandung
  • Annisabelia Firdaus Institut Teknologi Bandung



e-commerce, recommendation system, matrix-factorization, SVD, RMSE


A recommendation system is one of the most important things in today’s technology. It can suggest products that match the user’s preferences. Many fields utilize this system, including e-commerce, using various algorithms. This paper used the matrix factorization-based algorithm, singular value decomposition (SVD), to make a recommendation system based on users’ similarities. Afterward, we implement the model against the ModCloth Amazon dataset. The results imply that the SVD algorithm yields the best accuracy compared to other matrix factorization-based algorithms with root mean square error (RMSE) of 1.055586. Then, we optimized the SVD algorithm by changing the hyperparameters of the algorithm to generate better accuracy and yield a model with an RMSE value of 1.041784.


Y. X. Qing, “An Intelligent E-Commerce Recommendation Algorithm Based on Collaborative Filtering Technology,” in 2014 7th International Conference on Intelligent Computation Technology and Automation, Changsha, 2014, pp. 80-83.

X. Wang and C. Wang, “Recommendation system of e-commerce based on improved collaborative filtering algorithm,” in 2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, 2017, pp. 332-335.

J. H. Wu, Q. Liu, and S. W. Luo, “Clustering Technology Application in e-Commerce Recommendation System,” in 2008 International Conference on Management of e-Commerce and e-Government, Nanchang, 2008, pp. 200-203.

J. Zhou, F. Wan, and R. Jing, “Model and Implementation of E-commerce Recommendation System Based on User Clustering,” in 2020 International Conference on Advance in Ambient Computing and Intelligence (ICAACI), Ottawa, 2020, pp. 197-200.

J. Xia, “E-Commerce Product Recommendation Method Based on Collaborative Filtering Technology,” in 2016 International Conference on Smart Grid and Electrical Automation (ICSGEA), Zhangjiajie, 2016, pp. 90-93.

(2021) “Content-based Filtering,” Google Developers. [Online]. Available:

(2021) “Collaborative Filtering,” Google Developers. [Online]. Available:

J. Bobadilla, F. Ortega, A. Hernando, and A. Gutiérrez, “Recommender systems survey,” Knowledge-Based Sytems, vol. 46, pp. 109-132, 2013.

N. Akter, R. Mustafa, M. S. Chowdhury, and A. S. Hoque, “Accuracy analysis of recommendation system using singular value decomposition,” in 2016 19th International Conference on Computer and Information Technology (ICCIT), Dhaka, 2016, pp. 405-408.

(2021), V. Kumar, “Singular Value Decomposition (SVD) & Its Application In Recommender System,” Analytics India Magazine. [Online]. Available: Singular Value Decomposition (SVD) & Its Application In Recommender System

(2021) M. Waskom, “seaborn: statistical data visualization,” Seaborn. [Online]. Available:

N. Hug, “Surprise: a Python scikit for recommender systems,” Surprise. [Online]. Available:

X. Guan, C.-T. Li, and Y. Guan, "Matrix Factorization With Rating Completion: An Enhanced SVD Model for Collaborative Filtering Recommender Systems,” IEEE Access, vol. 5, pp. 27668-27678, 2017.

G. James, D. Witten, T. Hastie, and R. Tibshirani, An Introduction to Statistical Learning: with Applications in R, 2nd ed., New York: Springer, 2021.

M. Kuhn and K. Johnson, Applied Predictive Modeling, 1st ed. 2013, Corr. 2nd printing 2018 Edition ed., New York: Springer, 2018.