贝叶斯评分-加权投票评分系统

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了贝叶斯评分-加权投票评分系统相关的知识,希望对你有一定的参考价值。

Bayesian Rating is using the Bayesian Average. This is a mathematical term that calculates a rating of an item based on the “believability” of the votes. The greater the certainty based on the number of votes, the more the Bayesian rating approximates the plain, unweighted rating. When there are very few votes, the bayesian rating of an item will be closer to the average rating of all items.
  1. $avg_num_votes = 18; // Average number of votes in all products
  2. $avg_rating = 3.7; // Average rating for all products
  3. $this_num_votes = 6; // Number of votes for this product
  4. $this_rating = 4; // Rating for this product
  5.  
  6.  
  7. $bayesian_rating = ( ($avg_num_votes * $avg_rating) + ($this_num_votes * this_rating) ) / ($avg_num_votes + $this_num_votes);

以上是关于贝叶斯评分-加权投票评分系统的主要内容,如果未能解决你的问题,请参考以下文章

IMDB 投票与评分的 matplotlib 图

推荐系统笔记:基于贝叶斯的协同过滤

朴素贝叶斯

分类与监督学习,朴素贝叶斯分类算法

分类与监督学习,朴素贝叶斯分类算法

11.分类与监督学习,朴素贝叶斯分类算法