Hello fellows -
I'm currently in the process of developing a digg-like Ruby on Rails application for my degree's Final Project and I'm stuck in the 5 point ranking algorithm.
There are a couple of factors that need to be involved, here's a breakdown :
Users
- They'll have a personal 5 points ranking per category with 5 being the best and 1 being worst (Think of it as a 5 star ranking), so i could perfectly have IE. A 2 star ranking on the History category and a 5 star ranking on the Technology category.
Stories
- Each story will be classified with just 1 category, when the user posts the story, (and here's the one of the problems) it'll be given a "base ranking" based on the ranking of the user in that category. IE let's say i have a 5 star ranking in the technology category then if I post a story in it's be given a base ranking of 5 stars because i have a 5 star ranking in that category.
In the end, i have 3 rankings. The avg user ranking, the ranking of the user per category and the ranking of each story.
I've found this link : http://www.seomoz.org/blog/reddit-stumbleupon-delicious-and-hacker-news-algorithms-exposed
It decomposes various ranking algorithms, the Reddit algorithm seems to adapt my needs, I believe that it's just a matter of replacing the X = D - U variable with a proper equation that avgs the 1-5 points that can be given.
What do you guys think?
Thank you, Josh