Research on Collaborative Filtering Algorithm of E-commerce Based on Flink
In online shopping, a person’s interest in a product is closely related to whether they will purchase it Analyzing people’s interest in various products on time, along with product recommendations, can increase purchase rates. However, in many cases, We only know user implicit feedback, such as browsing or favoriting items, and cannot directly access user explicit feedback, such as product ratings. Moreover, users have limited exposure to products, resulting in a sparse user-item matrix. The traditional Alternating Least Squares (ALS) algorithm can partially address the is of of matrix sparsity but its accuracy in recommending products based on implicit feedback alone is insufficient. This paper proposes an improved ALS algorithm that converts implicit feedback into explicit ratings. We calculate the browsing frequency of a product based on user browsing counts. For a given product, we represent user preference by suimming the browsing frequencies of all products with browsing frequencies less than or equal to that of the product. Then, by multiplying the preference level by the product’s maximum rating, we derive a product rating, achieving a transformation from implicit feedback to explicit scores. Additionally, traditional collaborative filtering algorithms often use offline data, which may not align with user current preferences. To improve the algorithm’s accuracy, we also utilize Flink for real-time data processing, allowing us to capture the most recent feedback data. This study tests the approach using the UserBehavior dataset from the publicly available Tianchi dataset. Experimental results indicate improvements in both Root Mean Square Error (RMSE) and Mean Absolute Error (MAE).
Authors
- Xiaoshu Zhu (ORCID: https://orcid.org/0000-0002-7696-9112)
- Xiaonan Luo (ORCID: https://orcid.org/0000-0002-0751-5045)
- H. Zheng (ORCID: https://orcid.org/0000-0001-5509-4970)
Institutions
- Guilin University of Electronic Technology (CN)
Publication Details
- Published
- 2025-02-06
- DOI
- https://doi.org/10.1109/icicip64458.2025.10898136
- Primary Topic
- E-commerce and Technology Innovations
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China