投票算法:如何计算等级? [英] Voting algorithm: how to calculate rank?

查看:174
本文介绍了投票算法:如何计算等级?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找出一种计算排名的方法.现在,它只需要计算每个单独条目的赢/输比,例如一个人赢了100次中的99次,它的获胜率是99%.但是,如果某项在1票中赢得1票,它将获得100%的获胜排名,但绝对不能比赢得99次的那位更高.有什么更好的方法可以做到这一点?

I am trying to figure our a way to calculate rank. Right now it simply takes ratio of wins / losses of each individual entry, so e.g. one won 99 times out of a 100, it has 99% winning rank. BUT if an entry won 1 out of total 1 votes, it will have a 100% winning rank, but definitely it can't be higher that of the one that won 99 times. What would be a better way to do this?

推荐答案

根据您想要制作的复杂程度,Elo系统国际象棋使用(或类似的方式)可能是您想要的:

Depending on how complicated you want to make it, the Elo system chess uses (or something similar) may be what you want: http://en.wikipedia.org/wiki/Elo_rating_system

例如,即使一个人赢得了1/1场比赛,他的评分也将远低于在艰难的对手中赢得/输掉数百场比赛的人.

Even if a person has won 1/1 matches, his rating would be far below someone who has won/lost hundreds of matches against tough opponents, for instance.

这篇关于投票算法:如何计算等级?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆