max_num不是value最大值吧,反而是物品id最大值了,这个归一化有问题
Opened this issue · 0 comments
playwolf719 commented
`
itemnorm.py
for i,relations in item_sim_matrix.items():
max_num = max(relations)
item_sim_matrix[i] = {key : value / max_num for key,value in relations.items()}
`
max_num不是value最大值吧,反而是物品id最大值了,这个归一化有问题