We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
楼主你好,想问一下,在item相似度计算那块: for index, i1 in enumerate(item_log): for i2 in item_log[(index+1): ]: weight = 1/(math.log(1+user_times_map[u[0]])) mat[i1, i2] += weight mat[i2, i1] += weight 按照方案中描述:使用了用户活跃度的置信度计算 Item CF,这里的sim(i,j)!=sim(j,i),但是代码中这样看应该是相等的?另外,改进的相似度方法中,公式和代码对不上。是需要进一步推导嘛?
先谢过。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
楼主你好,想问一下,在item相似度计算那块:
for index, i1 in enumerate(item_log):
for i2 in item_log[(index+1): ]:
weight = 1/(math.log(1+user_times_map[u[0]]))
mat[i1, i2] += weight
mat[i2, i1] += weight
按照方案中描述:使用了用户活跃度的置信度计算 Item CF,这里的sim(i,j)!=sim(j,i),但是代码中这样看应该是相等的?另外,改进的相似度方法中,公式和代码对不上。是需要进一步推导嘛?
先谢过。
The text was updated successfully, but these errors were encountered: