I recently read a blog post about Redtit's "hotness" formula . Below is the formula shown below. There are a couple of variables that I don’t understand why they will be selected. I plan to use this formula as a reference for the application I am participating in, so I would like to know why these variables were used.
December 1, 8, 2005 - Why use this date? Also, why use offset time? Why not use the era? Was this arbitrary date used to be platform independent?
2nd - 45000 - Why use 45000 as a divisor? Is it an arbitrary number or has a specific meaning or purpose?
t = (time of entry post) - (Dec 8, 2005)
x = upvotes - downvotes
y = {1 if x > 0, 0 if x = 0, -1 if x < 0)
z = {1 if x < 0, otherwise x}
log(z) + (y * t)/45000
source
share