Penerapan Algoritma K-Nearest Neighbor (KNN) untuk Personalisasi Produk pada E-Commerce Menggunakan Pendekatan User-User Collaborative Filtering
DOI:
https://doi.org/10.52060/juptik.v4i1.4300Abstract
Pertumbuhan pesat sektor e-commerce menuntut adanya personalisasi untuk memitigasi kelebihan informasi dan mendorong keterlibatan pelanggan. Penelitian ini bertujuan untuk mengembangkan dan mengevaluasi sistem rekomendasi menggunakan algoritma K-Nearest Neighbor (KNN) dengan pendekatan User-User Collaborative Filtering. Studi ini menggunakan dataset Online Retail UCI yang mencakup 541.909 transaksi dari peritel berbasis di Inggris. Metodologi penelitian meliputi pembersihan data deterministik, konstruksi matriks interaksi pengguna-item biner, dan penerapan kemiripan kosinus untuk mengidentifikasi lingkungan tetangga. Rekomendasi dihasilkan menggunakan rata-rata tertimbang kemiripan untuk tetangga. Hasil empiris menunjukkan bahwa sistem mencapai Average Precision@5 sebesar 0,0915, Average Recall@5 sebesar 0,0575, dan Hit Rate yang signifikan sebesar 0,3437. Temuan ini mengindikasikan bahwa model KNN dengan 10 tetangga tiga kali lebih akurat dibandingkan dengan model dasar satu tetangga. Hit Rate yang tinggi menunjukkan bahwa sistem ini layak secara strategis untuk meningkatkan penjualan silang (cross-selling) dan ROI pemasaran secara keseluruhan dalam lingkungan ritel dunia nyata.
References
[1] M. F. Acosta, R. García Arancibia, P. Llop, M. Lovatto, and L. Mansilla, “Value-Aware Product Recommendation by Customer Segmentation using a suitable High-Dimensional Similarity Measure,” 2026. https://doi.org/10.2139/ssrn.5985595
[2] C. Saha and D. Prasetya, “Sistem Rekomendasi Pada E-Commerce Menggunakan K-Nearest Neighbor,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 4, no. 3, pp. 194–200, Sep. 2017, https://doi.org/10.25126/jtiik.201743392
[3] Y. Zhou and A. Nadaf, “Embedded Collaborative Filtering for ‘Cold Start’ Prediction”.
[4] V. Verma and R. K. Aggarwal, “A comparative analysis of similarity measures akin to the Jaccard index in collaborative recommendations: empirical and theoretical perspective,” Soc. Netw. Anal. Min., vol. 10, no. 1, Dec. 2020, https://doi.org/10.1007/s13278-020-00660-9
[5] Introduction to Information Retrieval Christopher D. Manning, Prabhakar Raghavan, and Hinrich Schütze (Stanford University, Yahoo! Research, and University of Stuttgart) Cambridge: Cambridge University Press, 2008, xxi+482 pp; hardbound, ISBN 978-0-521-86571-5. https://doi.org/10.1162/coli.2009.35.2.307
[6] Y. Hu, C. Volinsky, and Y. Koren, “Collaborative filtering for implicit feedback datasets,” Proceedings - IEEE International Conference on Data Mining, ICDM, pp. 263–272, 2008, https://doi.org/10.1109/ICDM.2008.22
[7] Y. Chung, N. R. Kim, C. Y. Park, and J. H. Lee, “Improved neighborhood search for collaborative filtering,” International Journal of Fuzzy Logic and Intelligent Systems, vol. 18, no. 1, pp. 29–40, Mar. 2018, doi: 10.5391/IJFIS.2018.18.1.29.
[8] T. M. Akhriza, I. Member, and I. D. Mumpuni, “A Time-Window Approach to Recommending Emerging and On-the-rise Items”.
[9] Su and T. M. Khoshgoftaar, “A Survey of Collaborative Filtering Techniques,” Advances in Artificial Intelligence, vol. 2009, pp. 1–19, 2009, https://doi.org/10.1155/2009/421425
[10] J. Bobadilla, F. Ortega, A. Hernando, and A. Gutiérrez, “Recommender Systems Survey,” Knowledge-Based Systems, vol. 46, pp. 109–132, Jul. 2013, https://doi.org/10.1016/j.knosys.2013.03.012
[11] P. Resnick and H. R. Varian, “Recommender Systems,” Communications of the ACM, vol. 40, no. 3, pp. 56–58, Mar. 1997, https://doi.org/10.1145/245108.245121
[12] 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, https://doi.org/10.1109/TKDE.2005.99
[13] F. Ricci, L. Rokach, and B. Shapira, “Introduction to Recommender Systems Handbook,” in Recommender Systems Handbook, Boston, MA, USA: Springer, 2011, pp. 1–35, https://doi.org/10.1007/978-0-387-85820-3_1
[14] B. M. Sarwar, G. Karypis, J. A. Konstan, and J. Riedl, “Item-Based Collaborative Filtering Recommendation Algorithms,” in Proc. WWW, Hong Kong, China, 2001, pp. 285–295, https://doi.org/10.1145/371920.372071
[15] J. L. Herlocker, J. A. Konstan, A. Borchers, and J. Riedl, “An Algorithmic Framework for Performing Collaborative Filtering,” in Proc. SIGIR, Berkeley, CA, USA, 1999, pp. 230–237, https://doi.org/10.1145/312624.312682
[16] M. Deshpande and G. Karypis, “Item-Based Top-N Recommendation Algorithms,” ACM Transactions on Information Systems, vol. 22, no. 1, pp. 143–177, Jan. 2004, https://doi.org/10.1145/963770.963776
[17] Y. Koren, R. Bell, and C. Volinsky, “Matrix Factorization Techniques for Recommender Systems,” Computer, vol. 42, no. 8, pp. 30–37, Aug. 2009, https://doi.org/10.1109/MC.2009.263
[18] S. Rendle, C. Freudenthaler, Z. Gantner, and L. Schmidt-Thieme, “BPR: Bayesian Personalized Ranking from Implicit Feedback,” in Proc. UAI, Catalonia, Spain, 2009, pp. 452–461.
[19] M. D. Ekstrand, J. T. Riedl, and J. A. Konstan, “Collaborative Filtering Recommender Systems,” Foundations and Trends in Human–Computer Interaction, vol. 4, no. 2, pp. 81–173, 2011, https://doi.org/10.1561/1100000009
[20] D. Jannach, M. Zanker, A. Felfernig, and G. Friedrich, Recommender Systems: An Introduction. Cambridge, UK: Cambridge University Press, 2010, https://doi.org/10.1017/CBO9780511763113
| Keywords | : |
Keywords:
algoritma KNN, personalisasi produk, e-commerce, user-user collaborative filtering, sistem rekomendasi
|
| Galleys | : | |
| Published | : |
2026-06-01
|
| Issue | : |
Copyright (c) 2026 Jurnal Pengembangan Teknologi Informasi dan Komunikasi (JUPTIK)

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