comparison - Algorithm for Rating Objects Based on Amount of Votes and 5 Star Rating -


i'm creating site whereby people can rate object of choice allotting star rating (say 5 star rating). objects arranged in series of tags , categories eg. electronics>graphics cards>pci express>... or maintenance>contractor>plumber.

if user searches specific category or tag, hits must return highest "rated" object in category. however, system flawed if 1 person votes 5 stars object whilst 1000 users vote average of 4.5 stars object. obviously, logic dictates credibility given 1000 user rated object opposed object evaluated 1 user though has "lower" score.

conversely, it's reliable trust object 500 user rating score of 4.8 trust object 1000 user ratings of 4.5 example.

what algorithm can achieve weighting?

a great answer question here: http://www.evanmiller.org/how-not-to-sort-by-average-rating.html


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -