所以在我用c#编写的系统中,用户可以用0.5分的块来评价产品从1到5,所以基本上这些点是 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0 现在我想计算顶级产品,并且让我们说最小的投票数需要10票 . 我需要2个样品,其信息如下:

product 1 {

    total rating: 360.5,
    number of votes: 212
}

product 2 { 
    total rating: 28.0,
    number of votes: 12
}

所以基本上每种产品的平均评级是

product 1 -> 360.5 / 212 = 1.70

product 2 -> 28.0 / 12 = 2.33

现在按照提到的公式Here

weighted rating (WR) = (v ÷ (v+m)) × R + (m ÷ (v+m)) × C

where:

R = average for the movie (mean) = (Rating)
v = number of votes for the movie = (votes)
m = minimum votes required to be listed in the Top 50 (currently 20)
C = the mean vote across the whole report (currently 2.01)

产品1的配方是:

(212 / (212 + 20)) * 1.70 + (20 / (212 + 20)) * 2.01 = 1.72

对于产品2是:

(12 / (12 + 20)) * 2.33 + (20 / (12 + 20)) * 2.01 = 2.13

首先,我想知道我的计算是否正确,如果它基本上是一个有200多票的产品,0.42点的差异仍然低于12票的产品?那200多张票是否使产品1比产品1更受欢迎?

提前致谢