Re:Ask HN: How can I make a constantly-updating hotlist like...
by markus_zhang on Friday November 05, 2021 @07:33PM
(#29125853)
I guess it's subjective. I'd use some simple algorithms to calculate the rank.
From the top of my head, comments should take the biggest weight, likes next and view the smallest one. Basically the more actions users have to perform, the better rank the post gets.
But don't forget that views probably can be excluded from the equation as it is related to the other two. So either you drop view, or just use view. However, closer analysis would be needed (e.g. factor analysis, or PCA) to figure out the relationship.
From the top of my head, comments should take the biggest weight, likes next and view the smallest one. Basically the more actions users have to perform, the better rank the post gets.
But don't forget that views probably can be excluded from the equation as it is related to the other two. So either you drop view, or just use view. However, closer analysis would be needed (e.g. factor analysis, or PCA) to figure out the relationship.