What's the best way to normalize scores for ranking things?

Posted by beagleguy on Stack Overflow See other posts from Stack Overflow or by beagleguy
Published on 2010-06-17T04:26:05Z Indexed on 2010/06/17 4:33 UTC
Read the original article Hit count: 343

Filed under:
|

hi all, I'm curious how to do normalizing of numbers for a ranking algorithm

let's say I want to rank a link based on importance and I have two columns to work with

so a table would look like

url | comments | views

now I want to rank comments higher than views so I would first think to do comments*3 or something to weight it, however if there is a large view number like 40,000 and only 4 comments then the comments weight gets dropped out.

So I'm thinking I have to normalize those scores down to a more equal playing field before I can weight them. Any ideas or pointers to how that's usually done?

thanks

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about math