代码之家  ›  专栏  ›  技术社区  ›  gath

贝叶斯评分公式综述

  •  2
  • gath  · 技术社区  · 15 年前

    基于我找到的这个网址 Bayesian Rating

    avg_num_votes  = Sum(votes)/Count(votes) * Count(votes)
    
    avg_rating     = sum(votes)/count(votes)
    
    this_num_votes = count(votes)
    
    this_rating    = Positive_votes - Negative_votes
    

    迦特

    2 回复  |  直到 15 年前
        1
  •  7
  •   BlueRaja - Danny Pflughoeft    15 年前

    它看起来更像这样:

    avg_num_votes  = Count(votes)/Count(items with at least 1 vote)
    avg_rating     = Sum(votes)/Count(items with at least 1 vote)
    
    this_num_votes = Count(votes for this item)
    this_rating    = Sum(votes for this item)/Count(votes for this item)
    

    Sum(votes) = Count(positive votes) (即将+视为1,-视为0)

    Bayesian average

        2
  •  0
  •   Yves    13 年前

    如果平均值不是:

    推荐文章