Manipulate data for scaling

Posted by user1487000 on Stack Overflow See other posts from Stack Overflow or by user1487000
Published on 2012-12-06T04:50:49Z Indexed on 2012/12/06 5:03 UTC
Read the original article Hit count: 78

I have this data:

Game 1: 7.0/10.0, Reviewed: 1000 times
Game 2: 7.5/10.0, Reviewed: 3000 times
Game 3: 8.9/10.0, Reviewed: 140,000 times
Game 4: 10.0/10.0 Reviewed: 5 times
.
.
. 

I want to manipulate this data in a way to make each rating reflective of how many times it has been reviewed.

For example Game 3 should have a little heavier weight than than Game 4, since it has been reviewed way more. And Game 2's 7 should be weighted more than Game 1's 7.

Is there a proper function to do this scaling? In such a way that

ScaledGameRating = OldGameRating * (some exponential function?)

© Stack Overflow or respective owner

Related posts about c++

Related posts about python