e-ISSN 2231-8526
ISSN 0128-7680
Shuai Shuai Wang and Noor Farizah Ibrahim
Pertanika Journal of Science & Technology, Volume 34, Issue 1, February 2026
DOI: https://doi.org/10.47836/jst.34.1.21
Keywords: Collaborative filtering, LDA, sentiment analysis, time decay factor
Published on: 2026-02-26
Currently, social media generates a large amount of content every day, with relevant content including the experience of product performance, price, and branding, which can assist retailers in understanding the change of consumers’ sentiment toward a certain type of product and provide recommendations for consumers to purchase related products. Although different existing recommendation systems have recommended products through users’ ratings, the recommendation systems generally neglect the time factor, contain sparse data, and lack the ability for semantic understanding. The current study proposed an enhanced collaborative filtering algorithm, namely the Hybrid-Dynamic-Topic-Sentiment user-based K-Nearest Neighbors (HDTS-uKNN), based on the topic model, sentiment analysis, and time decay function. The experimental results revealed that the proposed algorithm demonstrated enhanced performance compared to other baseline algorithms on the Twitter dataset, with the lowest mean absolute error (MAE) score of 0.1003. The proposed collaborative filtering algorithm not only aided in resolving the data sparsity issue but also utilised the dynamic hybrid similarity method to contribute to more refined product and service recommendations.
ISSN 0128-7680
e-ISSN 2231-8526