热线电话:13121318867

登录
2019-06-14 阅读量: 823
如何计算两个电影的相似度

# Sorting values according to

# the 'num of rating column'

moviemat = data.pivot_table(index ='user_id',

columns ='title', values ='rating')

moviemat.head()

ratings.sort_values('num of ratings', ascending = False).head(10)

55.0761
0
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子