调整余弦相似度的平均值

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

如果你看到这个公式:

Adjusted Cosine

在分母中,您需要为项目 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.