Google Answers Logo
View Question
 
Q: algorithm reputation system/review system ( No Answer,   2 Comments )
Question  
Subject: algorithm reputation system/review system
Category: Computers > Algorithms
Asked by: troy1-ga
List Price: $40.00
Posted: 05 Feb 2006 08:12 PST
Expires: 07 Feb 2006 14:27 PST
Question ID: 441703
Hi,

I am in a process of creating a site. In this site users will post reviews.
My question is what algorithm/calculation  to use.
A user will post a review and will give it a general rate (1 to 5) and
then the readers of the site will vote if this review was helpful or
unhelpful.

I am looking for algorithm that will take those two factors into consideration.


Question are welcomed

Request for Question Clarification by efn-ga on 05 Feb 2006 09:04 PST
What do you want the algorithm to do?

If the inputs to the algorithm are the reviewer's rating and the
readers' votes, what output do you want from the algorithm?

Clarification of Question by troy1-ga on 07 Feb 2006 14:27 PST
I was able to find an answer in another source.
Thanks for the effor.
Answer  
There is no answer at this time.

Comments  
Subject: Re: algorithm reputation system/review system
From: asqus23-ga on 05 Feb 2006 09:23 PST
 
Okay, let's say your site is somewhere for people to review books.

The average rating of a book can then be defined, using your listed
criteria, as the averaged sum of all individual reviews, FACTORING IN
THE WEIGHTING OF EACH REVIEW.

In other words, each individual review of a book raises or diminishes
the average to a degree determined by how helpful it is deemed.

So, let's try some pseudo-code for this, using basic ECMA-Script type language:


totalbooks = 100;
totalratings = 0;

for (i=1;i<=totalbooks,i++){
	totalratings += rating[i];
}

averageunweightedrating = totalratings/totalbooks;
totalweightedratings = totalratings;

for (i=1;i<=totalbooks,i++){
	totalweightedratings -= (averageunweightedrating - rating[i])/(6-relevance[i]);
}

averageweightedrating = totalweightedratings/totalbooks;


I can knock together an actual code example in Flash Actionscript with
a visual output if you need ;-)
Subject: Re: algorithm reputation system/review system
From: troy1-ga on 05 Feb 2006 09:57 PST
 
asqus23-ga,
it looks interesting what you wrote - but cannot understand it....
( i will give the code to the programmer..)
I want to know also the logic.
Thanks,
troy1

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy