- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
slope one 推荐算法0
slope one 推荐算法
阿凡
/bicloud
内容
• slope one算法
• Slope one算法实例
• 分布式推荐算法
• Slope one in Mahout
• Slope one @ 淘宝
• 参考资料
slope one算法
• Slope One 算法
是一种基于评分的预测算法,
本质上也是一种基于项目的算法。与一般的基于项目的算法不同, 该算法不计算
项目之间的相似度, 而是用一种简单的线性回归模型进行预测 (可以扩展)
算法易于实现, 计算速度快, 可扩展性好, 同时对数据稀疏性有较好的适应性
http://www.hitflip.de/dvds/title/Ozean_in_Fl
ammen_1660/
Slope one 算法实例
Slope one 算法实例
• 经过上述处理,计算得到任意两个商品之间的平均差值
When done we have a table we can use to look up
the average difference between any two items
• This completes the preprocessing step
• Empty cells contain inverses that are omitted here
• 对称矩阵
Slope one 算法实例
•Let’s recommend an item for user X (假设现在给用户X推荐商品)
•There are two potential candidates: item 103 and item 104
•We want to predict X’s preferences for both items and
recommend the one user X would prefer
•We need to do this using all of X’s existing items: 101,102
根据用户X评过分的商品101和102进行推荐
Slope one 算法实例
•Predict Xs preference for item 103 using item 101
•Look up the pre-computed average preference difference between
items 103 and 101: -0.75
•Use this to predict X’s rating for item 103 based on item 101
X’s rating for item 101: 5
X’s predicted preference for item 103 using 101: -0.75 + 5 =
4.25
Slope one 算法实例
•Predict Xs preference for item 103 using item 102
•Look up the pre-computed average preference difference between
items 103 and 102: -1.75
•Use this to predict X’s rating for item 103 based on item 102
•X’s rating for item 102: 3.5
•X’s predicted preference for item 103 using 102: -1.75 + 3.5 =
1.75
Slope one 算法实例
分布式推荐算法
为什么采用分布式:
1.Dataset does not fit into memory (数据无法直接加载进内存)
2.Need for processing exceeds what can be
文档评论(0)