Note that there are some explanatory texts on larger screens.

plurals
  1. POHelp with Ruby on Rails 5 points ranking algorithm
    primarykey
    data
    text
    <p>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.</p> <p>There are a couple of factors that need to be involved, here's a breakdown :</p> <p><strong>Users</strong></p> <ul> <li>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.</li> </ul> <p><strong>Stories</strong></p> <ul> <li>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.</li> </ul> <p>In the end, i have 3 rankings. The avg user ranking, the ranking of the user per category and the ranking of each story.</p> <p>I've found this link : <a href="http://www.seomoz.org/blog/reddit-stumbleupon-delicious-and-hacker-news-algorithms-exposed" rel="nofollow noreferrer">http://www.seomoz.org/blog/reddit-stumbleupon-delicious-and-hacker-news-algorithms-exposed</a></p> <p><strong>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.</strong></p> <p>What do you guys think?</p> <p>Thank you, Josh</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload