algorithm - How to create a rating based off social scores -


i have thousand recipes each having tweet , facebook counts. want create overall rating out of 100 based off these 2 scores (and perhaps other social network counts too).

assuming both facebook , twitter equally weighted, how can go this.

one way given network somethign this

this_recipes_facebook_count / max_facebook_count_in_db * 100.0

and average twitter result.

however happens if there recipe freakish high score? unfairly punishes other recipes lower yet still relatively high scores.

i feel need take standard deviation acccount, perhaps dampening function...but been 14 years since took stats in highschool.

can help? id prefer simple on complex recipe ratings after all.

instead of linearly increasing popularity count might this: (1-p^x)

where p pre-selected value (say 0.99) , x number of mentions.

initially increase in mentions going speed score lot. after sometime effect becomes smaller , smaller.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -