Quote:
Originally Posted by dellow
i am really sorry, but need more explain.
you said if some user average is 3.2 , what if another value ?
|
If you're good at maths, here is the algorithm:
Let's suppose a user has an average rating of X.
With your controversy classes, if more than 75% of the votes are either [X+0.5]-1, or [X+0.5] or [X+0.5]+1, he will have a low controversy.
If 50%-75% of his votes are either [X+0.5]-1, or [X+0.5] or [X+0.5]+1, he will have a medium controversy.
If 15%-50% of his votes are either [X+0.5]-1, or [X+0.5] or [X+0.5]+1, he will have a high controversy.
And if less than 15% of his votes are either [X+0.5]-1, or [X+0.5] or [X+0.5]+1, he will have a very high controversy.
Where [X] is the whole/integer part of X (eg [3.2]=3, [0.5]=0, [1.7]=1 etc)