【问题标题】:How mahout user based recommendation works?基于 mahout 用户的推荐如何工作?
【发布时间】:2012-01-09 01:06:42
【问题描述】:

我正在使用基于一般用户的 mahout taste api 推荐器来生成推荐..

我知道它会根据过去用户的评分来推荐..我没有得到它选择推荐项目背后的数学原理..例如..

对于用户 ID 58

项目评分

 231 5

 235 5.5

 245 5.88

3 个邻居是,itemid 和评级为,{231 4,254 5,262 2,226 5}

{235 3,245 4,262 3} {226 4,262 3} 它推荐我226怎么样?

提前致谢,

【问题讨论】:

    标签: mahout


    【解决方案1】:

    这取决于您为推荐人选择的UserSimilarityUserNeighborhood。但总的来说,对于用户 u,该算法的工作原理如下:

    for every other user w
        compute a similarity s between u and w
        retain the top users, ranked by similarity, as a neighborhood n
    for every item i that some user in n has a preference for, but that u has no preference for yet
        for every other user v in n that has a preference for i
            compute a similarity s between u and v
            incorporate v's preference for i, weighted by s, into a running average
    

    来源:Mahout in Action http://manning.com/owen/

    【讨论】:

      猜你喜欢
      • 2015-06-03
      • 1970-01-01
      • 1970-01-01
      • 2011-09-09
      • 2015-01-16
      • 1970-01-01
      • 1970-01-01
      • 2012-10-03
      相关资源
      最近更新 更多