News for hackers. Stuff that matters.
Re:Show HN: I built a service to discover rapidly growing G... by yuy910616 on Friday July 19, 2019 @11:28AM (#20479397)
Hi Josh, Very interesting stuff. Can I ask what is the math behind defining the trend? How did you calculate the most trendy words, etc?

I'm working on something similar for a internal tool, so I'm curious to see what your solution is.

Thanks!

Re:Show HN: I built a service to discover rapidly growing G... by jhow15 on Friday July 19, 2019 @12:19PM (#20479916)
Of course - I have scripts constantly monitoring the web for potentially interesting keywords. I then check google trends data for that topic/keyword and analyze the gradient of the line of best fit over different timeframes. If the gradient is higher than a certain (arbitrary) amount, then I class it as a trend!
Re:Show HN: I built a service to discover rapidly growing G... by peterhil on Friday July 19, 2019 @07:38PM (#20483296)
Is the gradient just a linear least squares fit?
Re:Show HN: I built a service to discover rapidly growing G... by yuy910616 on Tuesday July 23, 2019 @12:37PM (#20508036)
Not the author. Seems like it, it doesn't look like Google Trend gives other variables, so just simple 2 var regression I'd guess