调整余弦相似度的平均值
Average in Adjusted cosine Similarity
用户在调整后的余弦相似度中的平均评分的分母是多少? (基于项目的协同过滤)
是不是给系统里的所有Item都编号了??或者只是用户评分的项目数??
和
MatLab 中有调整余弦函数吗?
谢谢
Question 1: Is it number all Items in system?? Or Just number of rated items by
user??
Answer 1: Neither
如果你看到这个公式:
%20%3D%20%5Cfrac%7B%20%5Csum%5Climits_%7Bu%5Cin%20U%7D(R_%7Bu%2Ci%7D-%5Cbar%7BR%7D_%7Bu%7D)(R_%7Bu%2Cj%7D-%20%5Cbar%7BR%7D_%7Bu%7D)%7D%7B%5Csqrt%7B%5Csum%5Climits_%7Bu%5Cin%20U%7D(R_%7Bu%2Ci%7D-%5Cbar%7BR%7D_%7Bu%7D)%5E2%7D%5Csqrt%7B%5Csum%5Climits_%7Bu%5Cin%20U%7D(R_%7Bu%2Cj%7D-%5Cbar%7BR%7D_%7Bu%7D)%5E2%7D%7D%0A)
在分母中,您需要为项目 i[ 的用户 u 的每个评分计算 根总和 =23=] 减去该用户的平均评分(平均评分),然后对这个减法进行平方,然后对项目 j 进行乘法运算是一样的。
Question 2: is there a function in MatLab for Adjusted Cosine?
Answer 2: By default no. But it should be relatively easy to write it your self given that you have the formula.
用户在调整后的余弦相似度中的平均评分的分母是多少? (基于项目的协同过滤)
是不是给系统里的所有Item都编号了??或者只是用户评分的项目数??
和
MatLab 中有调整余弦函数吗?
谢谢
Question 1: Is it number all Items in system?? Or Just number of rated items by user??
Answer 1: Neither
如果你看到这个公式:
在分母中,您需要为项目 i[ 的用户 u 的每个评分计算 根总和 =23=] 减去该用户的平均评分(平均评分),然后对这个减法进行平方,然后对项目 j 进行乘法运算是一样的。
Question 2: is there a function in MatLab for Adjusted Cosine?
Answer 2: By default no. But it should be relatively easy to write it your self given that you have the formula.