How to calculate scores?

耗尽温柔 提交于 2019-12-03 06:23:59

If you want to weight the effect of a -1 rating more strongly, use the same average score calculation but substitute -10 whenever you see -1. You can choose a value other than -10 if you don't want a negative rating to weight as strongly.

You might look at using the lower bound of the Wilson score interval for your ratings.

See http://www.evanmiller.org/how-not-to-sort-by-average-rating.html for more details. Although, there, it is used for the simpler Bernoulli case.

The gist is if you have a lot of ratings you have a higher degree of confidence in your scoring. You can then combine the scores from your local ratings and the Technorati ratings, by weighting the scores by the number of voters locally and on Technorati.

As for wanting a single -1 vote to have high impact, just remap it to a large negative value proportional to your desired impact before feeding it into your scoring formula.

Calculating a score based on votes will be pretty easy. Adding the technorati rank will be the tricky part.

I made a quick script that calculates some scores based on this algorithm

score = ( vote_sum - ( vetos * veto_weight ) ) / number_of_votes

you can change the url paramters to get different values

There are a lot of ties, so maybe you could use technorati blog rank as a tie breaker

you could internally work with scores from 0 to 6. Just do a shift by one, calculate the score and shift back. I guess the -1 has some disrupting effekt on your calculation.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!