什么是search.twitter.com的"热门话题"算法? [英] What is search.twitter.com's "trending topics" algorithm?
问题描述
什么算法没有微博的使用,以确定的10个主题,你可以在 search.twitter.com 看到了什么?我想实现的算法,我也想表现出50个最热门的话题(而不是10)。你能形容最有效的算法?
What algorithm does twitter use to determine the 10 topics that you can see at search.twitter.com? I would like to implement that algorithm and I would also like to show the 50 most popular topics (instead of 10). Can you describe the most efficient algorithm?
谢谢!
(Twitter的API,可以发现AT-<一href="http://apiwiki.twitter.com/REST%20API%20Documentation">http://apiwiki.twitter.com/REST%20API%20Documentation)
(Twitters API can be found at- http://apiwiki.twitter.com/REST%20API%20Documentation)
另外,我也希望能够通过公共timeline- <一个搜索来实现算法href="http://twitter.com/statuses/public_timeline.rss">http://twitter.com/statuses/public_timeline.rss
Also, I would like to be able to implement the algorithm by searching through the public timeline- http://twitter.com/statuses/public_timeline.rss
推荐答案
Twitter的趋势算法不只是量的关键字。这是它的一部分,但也有一个衰减因子,使贾斯汀beiber是不是顶部趋势下去。
Twitter's trending algorithm is not just volume of keywords. That's part of it, but there's also a decay factor so that "justin beiber" isn't top trending forever.
这个职位上Quora的备份这件事。 <一href="http://www.quora.com/Trending-Topics-Twitter/What-is-the-basis-of-Twitters-current-Trending-Topics-algorithm?q=trending+algorithm">http://www.quora.com/Trending-Topics-Twitter/What-is-the-basis-of-Twitters-current-Trending-Topics-algorithm?q=trending+algorithm
This post on quora backs this up. http://www.quora.com/Trending-Topics-Twitter/What-is-the-basis-of-Twitters-current-Trending-Topics-algorithm?q=trending+algorithm
衰减通常是使用算法中的职位相对年龄,给予更高的权重进行更新的主题/职位/等。
decay is typically done by using the relative age of the post in the algorithm, giving more weight to newer topics/posts/etc.
又见<一href="http://www.quora.com/What-tools-algorithms-or-data-structures-would-you-use-to-build-a-Trending-Topics-algorithm-for-a-high-velocity-stream?q=trending+algorithm">http://www.quora.com/What-tools-algorithms-or-data-structures-would-you-use-to-build-a-Trending-Topics-algorithm-for-a-high-velocity-stream?q=trending+algorithm
这篇关于什么是search.twitter.com的&QUOT;热门话题&QUOT;算法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!