• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science

Previous Articles     Next Articles

A collaborative filtering recommendation algorithm
with revised rating by cosine similarity
 

ZHANG Rui-dian,QIAN Xiao-dong   

  1. (School of Economics and Management,Lanzhou Jiaotong University,Lanzhou 730070,China)
  • Received:2019-09-02 Revised:2019-11-26 Online:2020-06-25 Published:2020-06-25

Abstract:

When the user scores items, sometimes there are unreasonable factors that cause the user to make an unreasonable score on items, which may cause bias in the recommendation process. In order to correct this deviation, multiple dimensions of the scoring matrix are used to compare the similarity to correct the unreasonable score, and then the revised score is used for collaborative filtering recommendation. When using the variable dimension scoring matrix for similarity comparison, the similarity of the same user's scoring similar items is used, and the cosine similarity of two users' similarity of multiple similar items in different dimensions is compared. Firstly, multiple scores are constructed into several arrays of equal dimensions, and the similarity of each score array of the two users is compared. When a similarity differs greatly from other similarities, it is considered that the similarity corresponds to at least one of the two user arrays containing an unreasonable score. Secondly, the two arrays are divided into smaller arrays in the same way, and the reset can be done in the same manner, finally determining the unreasonable score. Finally, the similarity mean of all reasonable score arrays is used as the similarity of the corresponding array of unreasonable scores, thereby correcting the unreasonable score. Experiments using the MovieLens and Bookcrossing datasets show that the collaborative filtering algorithm with revised scoring has higher recommendation accuracy than the unmodified scoring, and its recommendation score MAE is reduced significantly. Compared with the comparison algorithm, the proposed algorithm can obtain better recommendation performance on MAE, Precision and Coverage.

Key words: unreasonable rating, variable dimension similarity, reasonable similarity mean, revised rating, collaborative filtering recommendation