如何为 Web 应用程序中的用户建立评级系统?
我正在实现一个拥有许多用户的 Web 应用程序,我会根据用户的活动以及喜欢他们的活动的其他用户对他们进行评级。我将如何实现这样的算法?我正在寻找可以提供帮助的优雅而智能的算法。
I am implementing a web application that has many users and I would give the users rating based on their activities and based on other users liking their activities. How would I implement such an algorithm for that? I am looking for elegant and smart algorithm that could help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您基本上是在寻找评分算法。这些文章可能会有所帮助 -
如何不按平均评分排序< /a>
根据牛顿冷却定律对热度进行排名
Reddit 排名算法的工作原理
希望这会有所帮助。
You are basically looking for Scoring Algos. These articles might help -
How not to sort by average rating
Rank hotness with Newtons law of Cooling
How Reddit Ranking Algorithms work
Hope this helps.
也许您的答案就在本网站上您的用户名旁边盯着您:-) Stackoverflow.com 的评分系统和徽章旨在推广某些内容网站上的行为。该算法很简单,反馈也很即时,因此每个人都可以看到某些操作的后果。
评级有什么用?如果您想使用评级作为用户鼓励特定行为的激励措施,那么我相信您需要研究行为心理学等学科来找出您想要衡量和奖励的行为。
如果您已经拥有反映您要解决的典型用户群的用户群,您可能需要尝试进行简单的试验和错误。选择一些操作,例如在帖子上收到点赞,并在发生这种情况时为用户的分数添加积分。当您引入评分系统时,观察用户社区的反应,并发现它有助于激发您想要的行为。如果不是,请尝试更改其他一些参数并重复。
根据您的系统,某些用户可能会尝试玩弄系统,因此一旦您引入评级系统(例如:Google 页面排名),您可能会发现自己陷入了一场永恒的猫鼠游戏。
Maybe your answer is staring right at you next to your username on this site :-) Stackoverflow.com's scoring system and badges are here to promote certain behaviors on the site. The algorithm is simple and the feedback is immediate so that everybody can see the consequences of certain actions.
What are the ratings used for? If you want to use the ratings as incentives for you users to encourage a specific behavior, then I believe you need to look at disciplines like behavioral psychology to figure out what behaviors you want to measure and reward.
If you already have a user base that reflects the typical user base you're trying to address, you might want to try with simple trial and error. Pick some actions, like e.g. receiving a like on a post and add points to the user's score whenever that happens. Watch the user community's reaction when you introduce the scoring system and see it it helps motivate the behavior you want. If not, try to change some other parameters and repeat.
Depending on your system, some users might try to game the system, so you could find yourself locked into an eternal cat and mouse game once you introduce a rating system (example: Google page ranking).