1
Mods & Plugins (Releases & Support) / Re: [MOD] Votes saved in DB
« on: November 25, 2006, 04:25:22 PM »....the rating calculated as average of all votes. The formula is the following:
new rating = ((old rating * number of votes) + rating) / (number of votes + 1)
Hi Vano,
I am still a little confused.
If i multiple votes x rating will that give me the over total value of the votes received for that image?
How can I back calculate from the formula you give above, e.g., new rating = ((old rating * nu. images) + rating).........????
For example, currently an image with a rating of 5 beats one with a rating of 4.75 BUT in actual fact the image with 4.75 actually received more votes and thus a higher overall score and was penalised when it was averaged! whereas the images with a rating of 5 sometimes only received one voter giving one good vote?
and why do some calculate with a decimal?
for example, one image got 9 votes, and a rating of 3.34 which would give a total of 30.06 and as there isn't any decimals in my ratings which go 1 to 5 (best) I dont know how the total could have a decimal?????
any feedback advice on the formula and calculation would be greatly appreciated !!!
thanks,
michelle