Open ryancallihan opened 5 years ago
I ended up using the z-score of the counts from the past 2 hours in order to track trends. The z score computes if the topic at hand varies greatly from the general use in the past. If there are less than the top-n requested, it defaults to counts from the past 2 hours.
Currently we fetch and sort "hot" topics by count from the past 24 hours. It would be cool to also have "trending" topics from the past hour. Trending here would be topics which have a significant jump in use compared to the past usage.