等级计算方法的样本示例 [英] Sample example for Rating calculation mothod

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

问题描述

如何计算论坛中的5星级?请任何人提供一些评估方法的样本计算.


提前致谢

how to calculate the 5 star rating in forum? please can anyone give some sample calculation for rating method.


Thanks In Advance

推荐答案

您可以根据自己的规则来决定.例如,您可以为海报提供给条目的每颗星星分配基本点数,例如:
It is up to you to decide based on your own rules. For example you could allocate a basic number of points for each star that a poster gives to an entry, such as:
1 star = -2 point
2 stars = -1 point
3 stars = 2 points
4 stars = 4 points
5 stars = 6 points


然后,您可以根据用户的声誉向这些值添加权重;因此,将基点乘以加权值即可得出分配的最终点.然后确定每颗星星有多少个点,这就是您的最终价值.


You can then add weights to those values based on the user''s reputation; so multiply the base points by the weighting value to give the final points allocated. Then decide how many points per star and that is your final value.


这篇关于等级计算方法的样本示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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